Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>floating inside display: block MathML</title>
<link rel="match" href="floating-inside-mathml-with-block-display-ref.html"/>
<meta name="assert" content="Verify that float works within a display: block MathML element.">
</head>
<body>
<p>Test passes if you see a blue square on the left and a smaller magenta square on the right.</p>
<math>
<mrow style="display: block">
<mspace style="display: inline-block; width: 50px; height: 50px; background: magenta"/><mspace style="float: left; display: inline-block; width: 100px; height: 100px; background: blue"/>
</mrow>
</math>
<script src="/mathml/support/feature-detection.js"></script>
<script>MathMLFeatureDetection.ensure_for_match_reftest("has_mspace");</script>
</body>
</html>