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

<link rel="stylesheet" href="/fonts/ahem.css">

<style>
  :root {
    font-family: Ahem;
    font-size: 16px;
  }
</style>

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

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

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