frac-linethickness-004.html (1126B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>fractions linethickness</title> 6 <link rel="help" href="https://w3c.github.io/mathml-core/#fractions-mfrac"> 7 <meta name="assert" content="Verifies that unitless value of zero causes no fraction bar to be painted"> 8 <link rel="match" href="frac-linethickness-004-ref.html"> 9 <style type="text/css"> 10 @font-face { 11 font-family: TestFont; 12 src: url("/fonts/math/fraction-rulethickness10000.woff"); 13 } 14 math { 15 /* FractionRuleThickness = 10000 * 1 / 1000 = 10px; */ 16 font-family: "TestFont"; 17 font-size: 1px; 18 } 19 </style> 20 </head> 21 <body> 22 <p>This test passes if you see no fraction bar.</p> 23 <math> 24 <mfrac linethickness="0"> 25 <mspace width="20px" height="10px" style="background: blue"></mspace> 26 <mspace width="20px" height="10px" style="background: cyan"></mspace> 27 </mfrac> 28 </math> 29 <script src="/mathml/support/feature-detection.js"></script> 30 <script>MathMLFeatureDetection.ensure_for_match_reftest("has_mfrac");</script> 31 </body> 32 </html>