summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/mathml/relations/css-styling/legacy-scriptsizemultiplier-attribute.html
blob: 9a955612bc7f6d71c56ddaaff0037041548bf6b1 (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
28
29
30
31
32
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>legacy scriptsizemultiplier attribute</title>
<link rel="help" href="https://www.w3.org/TR/MathML3/chapter3.html#presm.mstyle.attrs">
<link rel="help" href="https://w3c.github.io/mathml-core/#css-styling">
<link rel="help" href="https://w3c.github.io/mathml-core/#text-mtext">
<link rel="match" href="legacy-scriptsizemultiplier-attribute-ref.html"/>
<meta name="assert" content="Verify scriptsizemultiplier attribute is no longer parsed.">
<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 scriptsizemultiplier="1">
        <mstyle scriptlevel="1">
          <mn>X</mn>
        </mstyle>
      </mstyle>
    </math>
  </div>
</body>
</html>