Bug 201603 - Synchronize MathML WPT tests against upstream
[WebKit-https.git] / LayoutTests / imported / w3c / web-platform-tests / mathml / relations / css-styling / display-1.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <title>display</title>
6 <link rel="help" href="https://mathml-refresh.github.io/mathml-core/#css-styling">
7 <link rel="match" href="display-1-ref.html"/>
8 <meta name="assert" content="Verify that the 'display: none' property works on MathML elements.">
9 </head>
10 <body>
11   <p>Test passes if you see a green square.</p>
12   <div style="background: green; color: red; width: 200px; height: 200px;">
13     <math style="display: none;"><mspace width="200px" height="200px" style="background: red"/></math>
14   </div>
15   <script src="/mathml/support/feature-detection.js"></script>
16   <script>MathMLFeatureDetection.ensure_for_match_reftest("has_mspace");</script>
17 </body>
18 </html>