summaryrefslogtreecommitdiffstats
path: root/layout/reftests/font-face/variation-format-hint-1a.html
blob: 5ff20bd7b8db1d9179210d9ca1b92ec0df490bf6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>

<style>
@font-face {
  font-family: test;
  /* this should load markB if variation font support is enabled,
     and markA otherwise */
  src: url(../fonts/markB.ttf) format("truetype-variations"),
       url(../fonts/markA.woff);
}
div {
  font-family: test, serif;
  font-size: 50px;
  line-height: 2em;
}
</style>

<div>
ABC
</div>