floating-math.html (773B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>floating math</title> 6 <link rel="help" href="https://w3c.github.io/mathml-core/#css-styling"> 7 <link rel="match" href="floating-math-ref.html"/> 8 <meta name="assert" content="Verify that float applies to the <math> element."> 9 </head> 10 <body> 11 <p>Test passes if you see a blue square on the left and a smaller magenta square on the right.</p> 12 <div> 13 <div style="display: inline-block; width: 50px; height: 50px; background: magenta"></div> 14 <math style="float: left"><mspace width="100px" height="100px" style="background: blue"/></math> 15 </div> 16 <script src="/mathml/support/feature-detection.js"></script> 17 <script>MathMLFeatureDetection.ensure_for_match_reftest("has_mspace");</script> 18 </body> 19 </html>