summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/mathml/relations/css-styling/legacy-scriptminsize-attribute-ref.html
blob: 8e3d7b1c21907400af22f5df001515a2372ba2d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>legacy scriptminsize attribute (reference)</title>
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
  math {
      /* Ahem font does not have a MATH table so the font-size scale factor
         is always 0.71^{computed - inherited math script level} */
      font: 100px/1 Ahem;
  }
</style>
</head>
<body>
  <p>Test passes if you see a square of size 71px.</p>
  <div>
    <math>
      <mstyle>
        <mstyle scriptlevel="1">
          <mn>X</mn>
        </mstyle>
      </mstyle>
    </math>
  </div>
</body>
</html>