frac-linethickness-004-ref.html (729B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>fractions linethickness</title> 6 <style type="text/css"> 7 @font-face { 8 font-family: TestFont; 9 src: url("/fonts/math/fraction-rulethickness10000.woff"); 10 } 11 math { 12 /* FractionRuleThickness = 10000 * 1 / 1000 = 10px; */ 13 font-family: "TestFont"; 14 font-size: 1px; 15 } 16 </style> 17 </head> 18 <body> 19 <p>This test passes if you see no fraction bar.</p> 20 <math> 21 <mfrac linethickness="0px"> 22 <mspace width="20px" height="10px" style="background: blue"></mspace> 23 <mspace width="20px" height="10px" style="background: cyan"></mspace> 24 </mfrac> 25 </math> 26 </body> 27 </html>