mathsize-attribute-css-keywords.html (1355B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"/> 5 <title>mathsize and css keywords</title> 6 <link rel="help" href="https://w3c.github.io/mathml-core/#css-styling"> 7 <link rel="help" href="https://w3c.github.io/mathml-core/#legacy-mathml-style-attributes"> 8 <meta name="assert" content="Verify that CSS font-size keywords are invalid for the mathsize attribute."> 9 <link rel="match" href="mathsize-attribute-css-keywords-ref.html"> 10 <script src="/mathml/support/feature-detection.js"></script> 11 </head> 12 <body> 13 <p>Test passes if you see 14 "A" of equal size:</p> 14 <math> 15 <mtext>A</mtext> 16 <mtext mathsize="xx-small">A</mtext> 17 <mtext mathsize="x-small">A</mtext> 18 <mtext mathsize="small">A</mtext> 19 <mtext mathsize="medium">A</mtext> 20 <mtext mathsize="large">A</mtext> 21 <mtext mathsize="x-large">A</mtext> 22 <mtext mathsize="xx-large">A</mtext> 23 <mtext mathsize="larger">A</mtext> 24 <mtext mathsize="smaller">A</mtext> 25 <mtext mathsize="xx-ſmall">A</mtext> 26 <mtext mathsize="x-ſmall">A</mtext> 27 <mtext mathsize="ſmall">A</mtext> 28 <mtext mathsize="ſmaller">A</mtext> 29 </math> 30 <script src="/mathml/support/feature-detection.js"></script> 31 <script>MathMLFeatureDetection.ensure_for_match_reftest("has_mathsize");</script> 32 </body> 33 </html>