Bug 201603 - Synchronize MathML WPT tests against upstream
[WebKit-https.git] / LayoutTests / imported / w3c / web-platform-tests / mathml / relations / css-styling / visibility-004.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <title>visibility</title>
6 <link rel="help" href="https://mathml-refresh.github.io/mathml-core/#css-styling">
7 <link rel="help" href="https://mathml-refresh.github.io/mathml-core/#text-mtext">
8 <link rel="help" href="https://mathml-refresh.github.io/mathml-core/#enclose-expression-inside-notation-menclose">
9 <link rel="match" href="visibility-004-ref.html"/>
10 <meta name="assert" content="Verify that visibility=hidden is used for the text and graphical elements of the menclose element.">
11 </head>
12 <body>
13   <p>Test passes if you see a green square.</p>
14   <div style="background: green; color: red; width: 200px; height: 200px;">
15     <math><menclose notation="left" style="visibility: hidden"><mn>1</mn></menclose></math>
16     <math><menclose notation="right" style="visibility: hidden"><mn>2</mn></menclose></math>
17     <math><menclose notation="top" style="visibility: hidden"><mn>3</mn></menclose></math>
18     <math><menclose notation="bottom" style="visibility: hidden"><mn>4</mn></menclose></math>
19     <math><menclose notation="box" style="visibility: hidden"><mn>5</mn></menclose></math>
20     <math><menclose notation="roundedbox" style="visibility: hidden"><mn>6</mn></menclose></math>
21     <math><menclose notation="actuarial" style="visibility: hidden"><mn>7</mn></menclose></math>
22     <math><menclose notation="madruwb" style="visibility: hidden"><mn>8</mn></menclose></math>
23     <math><menclose notation="horizontalstrike" style="visibility: hidden"><mn>9</mn></menclose></math>
24     <math><menclose notation="verticalstrike" style="visibility: hidden"><mn>10</mn></menclose></math>
25     <math><menclose notation="updiagonalstrike" style="visibility: hidden"><mn>11</mn></menclose></math>
26     <math><menclose notation="downdiagonalstrike" style="visibility: hidden"><mn>12</mn></menclose></math>
27     <math><menclose notation="longdiv" style="visibility: hidden"><mn>13</mn></menclose></math>
28     <math><menclose notation="circle" style="visibility: hidden"><mn>14</mn></menclose></math>
29   </div>
30   <script src="/mathml/support/feature-detection.js"></script>
31   <script>MathMLFeatureDetection.ensure_for_match_reftest("has_menclose");</script>
32 </body>
33 </html>