servo/tests/wpt/web-platform-tests/mathml/relations/css-styling/visibility-1.html

37 lines
2.3 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>visibility</title>
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S2.html#SS3.SSS1">
<link rel="match" href="visibility-1-ref.html"/>
<meta name="assert" content="Verify that visibility=hidden is used for text and graphical elements.">
</head>
<body>
<p>Test passes if you see a green square.</p>
<div style="background: green; color: red; width: 200px; height: 200px;">
<math><mfrac style="visibility: hidden"><mn>1</mn><mn>2</mn></mfrac></math>
<math><msqrt style="visibility: hidden"><mn>3</mn></msqrt></math>
<math><mroot style="visibility: hidden"><mn>4</mn><mn>5</mn></mroot></math>
<math><menclose notation="left" style="visibility: hidden"><mn>6</mn></menclose></math>
<math><menclose notation="right" style="visibility: hidden"><mn>7</mn></menclose></math>
<math><menclose notation="top" style="visibility: hidden"><mn>8</mn></menclose></math>
<math><menclose notation="bottom" style="visibility: hidden"><mn>9</mn></menclose></math>
<math><menclose notation="box" style="visibility: hidden"><mn>10</mn></menclose></math>
<math><menclose notation="roundedbox" style="visibility: hidden"><mn>11</mn></menclose></math>
<math><menclose notation="actuarial" style="visibility: hidden"><mn>12</mn></menclose></math>
<math><menclose notation="madruwb" style="visibility: hidden"><mn>13</mn></menclose></math>
<math><menclose notation="horizontalstrike" style="visibility: hidden"><mn>14</mn></menclose></math>
<math><menclose notation="verticalstrike" style="visibility: hidden"><mn>15</mn></menclose></math>
<math><menclose notation="updiagonalstrike" style="visibility: hidden"><mn>16</mn></menclose></math>
<math><menclose notation="downdiagonalstrike" style="visibility: hidden"><mn>17</mn></menclose></math>
<math><menclose notation="longdiv" style="visibility: hidden"><mn>18</mn></menclose></math>
<math><menclose notation="circle" style="visibility: hidden"><mn>19</mn></menclose></math>
<math><mi style="visibility: hidden">20</mi></math>
<math><mn style="visibility: hidden">21</mn></math>
<math><mo style="visibility: hidden">22</mo></math>
<math><mtext style="visibility: hidden">23</mtext></math>
<math><ms style="visibility: hidden">24</ms></math>
</div>
</body>
</html>