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

<div>
ABC
</div>