summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-fonts/font-display/font-display-preload-ref.html
blob: e3ba8caa32f13479896e82afcaab654a3785375f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE html>
<html>
<title>font-display should work for preloaded fonts</title>
<style>
  .arial {
    height: 20px;
    font-family: Arial;
  }
</style>
<div id="container">
  <div class="arial"></div>
  <div class="arial"></div>
  <div class="arial">Swap</div>
  <div class="arial">Fallback</div>
  <div class="arial">Optional</div>
</div>
</html>