visibility-004.tentative.html (3444B)
1 <!DOCTYPE html> 2 <html class="reftest-wait"> 3 <head> 4 <meta charset="utf-8"> 5 <title>visibility</title> 6 <link rel="help" href="https://w3c.github.io/mathml-core/#css-styling"> 7 <link rel="help" href="https://w3c.github.io/mathml-core/#text-mtext"> 8 <link rel="help" href="https://github.com/mathml-refresh/mathml-core/pull/24"> 9 <link rel="match" href="visibility-004.tentative-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 id="dynamic"> 30 <math><menclose notation="left"><mn>1</mn></menclose></math> 31 <math><menclose notation="right"><mn>2</mn></menclose></math> 32 <math><menclose notation="top"><mn>3</mn></menclose></math> 33 <math><menclose notation="bottom"><mn>4</mn></menclose></math> 34 <math><menclose notation="box"><mn>5</mn></menclose></math> 35 <math><menclose notation="roundedbox"><mn>6</mn></menclose></math> 36 <math><menclose notation="actuarial"><mn>7</mn></menclose></math> 37 <math><menclose notation="madruwb"><mn>8</mn></menclose></math> 38 <math><menclose notation="horizontalstrike"><mn>9</mn></menclose></math> 39 <math><menclose notation="verticalstrike"><mn>10</mn></menclose></math> 40 <math><menclose notation="updiagonalstrike"><mn>11</mn></menclose></math> 41 <math><menclose notation="downdiagonalstrike"><mn>12</mn></menclose></math> 42 <math><menclose notation="longdiv"><mn>13</mn></menclose></math> 43 <math><menclose notation="circle"><mn>14</mn></menclose></math> 44 </div> 45 </div> 46 <script> 47 window.addEventListener("load", () => { 48 document.getElementById("dynamic").style.visibility = "hidden"; 49 document.documentElement.classList.remove("reftest-wait"); 50 }); 51 </script> 52 <script src="/mathml/support/feature-detection.js"></script> 53 <script>MathMLFeatureDetection.ensure_for_match_reftest("has_menclose");</script> 54 </body> 55 </html>