<!DOCTYPE html><html><head><metacharset="utf-8"/><title>display attribute VS legacy mode attribute</title><linkrel="help"href="https://w3c.github.io/mathml-core/#the-top-level-math-element"><linkrel="help"href="https://www.w3.org/TR/MathML3/chapter2.html#id.2.2.2"><linkrel="match"href="display-2-ref.html"/><metaname="assert"content="Verify that the legacy mode attribute has no effect."></head><body><p>Test passes if you see four green squares, the last one centered and the others left-aligned.</p><p><mathmode="inline"><mspacewidth="100px"height="100px"style="background: green"></mspace></math></p><p><mathmode="display"><mspacewidth="100px"height="100px"style="background: green"></mspace></math></p><p><mathdisplay="inline"mode="display"><mspacewidth="100px"height="100px"style="background: green"></mspace></math></p><p><mathdisplay="block"mode="inline"><mspacewidth="100px"height="100px"style="background: green"></mspace></math></p><scriptsrc="/mathml/support/feature-detection.js"></script><script>MathMLFeatureDetection.ensure_for_match_reftest("has_mspace");</script></body></html>