summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-fonts/ric-in-monospace-ref.html
blob: 4871e3baeaf18750a0a1a32a0f22d6550b1cae5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>

<style>
  @font-face {
    font-family: IcTestFullWidth;
    src: url(../css-values/resources/IcTestFullWidth.woff2);
  }
  :root {
    font-family: IcTestFullWidth;
  }
</style>

<p style="font-family: sans-serif">The following two lines should look exactly the same.</p>

<div style="font-size: 1ic">
  <div style="font-family: sans-serif;">
    Text.
  </div>

  <div style="font-family: sans-serif;">
    Text.
  </div>
</div>