tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

visibility-004.xht (1405B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      2 <html xmlns="http://www.w3.org/1999/xhtml">
      3     <head>
      4         <title>CSS Test: Visibility set to 'inherit'</title>
      5         <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
      6         <link rel="help" href="http://www.w3.org/TR/CSS21/visufx.html#propdef-visibility" />
      7         <link rel="help" href="http://www.w3.org/TR/CSS21/visufx.html#visibility" />
      8         <meta name="assert" content="A block can inherit its 'visibility' behavior from its parent container." />
      9         <style type="text/css">
     10             div
     11             {
     12                 height: 1in;
     13                 width: 1in;
     14             }
     15             #div1
     16             {
     17                 background: orange;
     18             }
     19             #div2
     20             {
     21                 visibility: hidden;
     22             }
     23             div div
     24             {
     25                 background: red;
     26                 visibility: inherit;
     27             }
     28             #div3
     29             {
     30                 background: blue;
     31             }
     32         </style>
     33     </head>
     34     <body>
     35         <p>Test passes if the blue and orange boxes below are not touching and there is no red visible on the page.</p>
     36         <div id="div1"></div>
     37         <div id="div2">
     38             <div>FAIL FAIL</div>
     39         </div>
     40         <div id="div3"></div>
     41     </body>
     42 </html>