18 lines
704 B
HTML
18 lines
704 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>display</title>
|
|
<link rel="help" href="https://w3c.github.io/mathml-core/#css-styling">
|
|
<link rel="match" href="display-1-ref.html"/>
|
|
<meta name="assert" content="Verify that the 'display: none' property works on MathML elements.">
|
|
</head>
|
|
<body>
|
|
<p>Test passes if you see a green square.</p>
|
|
<div style="background: green; color: red; width: 200px; height: 200px;">
|
|
<math style="display: none;"><mspace width="200px" height="200px" style="background: red"/></math>
|
|
</div>
|
|
<script src="/mathml/support/feature-detection.js"></script>
|
|
<script>MathMLFeatureDetection.ensure_for_match_reftest("has_mspace");</script>
|
|
</body>
|
|
</html>
|