summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-fonts/font-variant-alternates-19-ref.html
blob: 22c178c64f22d558d9cd725f75ae06e0f01ccfd8 (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
<!DOCTYPE html>
<html lang="en">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>CSS Test:  font-variant-alternates: multiple @font-feature-values rules</title>
<link rel="author" title="Dominik Röttsches" href="drott@chromium.org">
<style>
  @font-face {
    font-family: fwf;
    src: url(support/fonts/FontWithFancyFeatures.otf);
  }
  .test {
	  font-family: fwf;
	  font-size: 2em;
	  line-height: 1.1;
  }
</style>
<body>

<p>Test passes if the three lines below are identical, with 4 crosses (✗), then
three check marks (✓), then 11 crosses (✗), then 1 checkmark (✓).</p>
<section class="test">
  <p class="ref">BBBBAAABBBBBBBBBBBAB</p>
  <p class="ref">BBBBAAABBBBBBBBBBBAB</p>
  <p class="ref">BBBBAAABBBBBBBBBBBAB</p>
</section>