summaryrefslogtreecommitdiffstats
path: root/layout/reftests/font-face/variation-format-hint-1d.html
blob: 66e87f97be178ae8ee3b2b897e38c18936a9a685 (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.woff2) format("woff2-variations"),
       url(../fonts/markA.woff);
}
div {
  font-family: test, serif;
  font-size: 50px;
  line-height: 2em;
}
</style>

<div>
ABC
</div>