Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
            
- /mathml/relations/css-styling/legacy-scriptminsize-attribute.html - WPT Dashboard Interop Dashboard
 
 
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>legacy scriptminsize attribute</title>
<link rel="match" href="legacy-scriptminsize-attribute-ref.html"/>
<meta name="assert" content="Verify scriptminsize 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 scriptminsize="100px">
        <mstyle scriptlevel="1">
          <mn>X</mn>
        </mstyle>
      </mstyle>
    </math>
  </div>
</body>
</html>