blob: 5a9e4db68754e5dddfe503af3796f723222dd01e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
<!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>
|