summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-fonts/font-face-unicode-range-2-ref.html
blob: a338b8eb0f5acc25b7aa2590d96ba5e33c792111 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Reference: font-face unicode-range</title>
<style>
  @font-face {
    font-family: base;
    src: url(support/fonts/LigatureSymbolsWithSpaces.woff);
  }
  @font-face {
    font-family: swoosh;
    src: url(support/fonts/Rochester.otf);
  }
  .ref {
    font-family: base;
  }
  .ref .amp {
	  font-family: swoosh, base;
  }
  div {
	  font-size: 5em;
  }
</style>
<body>
  <p>Test passes if the two lines look the same, with just the ampersand in italic</p>
  <div class="ref">This <span class="amp">&amp;</span> That</div>
  <div class="ref">This <span class="amp">&amp;</span> That</div>
</body>