frac-mrow-001.html (1212B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>Fraction mrow</title> 6 <link rel="help" href="https://w3c.github.io/mathml-core/#fractions-mfrac"> 7 <link rel="help" href="https://w3c.github.io/mathml-core/#horizontally-group-sub-expressions-mrow"> 8 <meta name="assert" content="This test that <mrow> elements can be used as numerator and denominator of fractions."> 9 <link rel="match" href="frac-mrow-001-ref.html"> 10 </head> 11 <body style="font-size: 20pt;"> 12 <p>This test passes if you see a fraction with a blue square as numerator and a cyan square as denominator.</p> 13 <math> 14 <mfrac> 15 <mrow> 16 <mspace width="30px" height="60px" style="background: blue"></mspace> 17 <mspace width="30px" height="60px" style="background: blue "></mspace> 18 </mrow> 19 <mrow> 20 <mspace width="30px" height="60px" style="background: cyan"></mspace> 21 <mspace width="30px" height="60px" style="background: cyan "></mspace> 22 </mrow> 23 </mfrac> 24 </math> 25 <script src="/mathml/support/feature-detection.js"></script> 26 <script>MathMLFeatureDetection.ensure_for_match_reftest("has_mfrac");</script> 27 </body> 28 </html>