tor-browser

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

visibility-descendants-001.xht (1293B)


      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: Descendents of hidden elements can specify a different visibility</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#visibility" />
      7         <meta name="assert" content="Descendents of a hidden element will be visible if they have 'visibility' set to 'visible'." />
      8         <style type="text/css">
      9             #div1
     10             {
     11                 border: 1px solid blue;
     12             }
     13             #div2
     14             {
     15                 color: red;
     16                 visibility: hidden;
     17             }
     18             div div div
     19             {
     20                 color: green;
     21                 visibility: visible;
     22             }
     23         </style>
     24     </head>
     25     <body>
     26         <p>Test passes if the content "Filler Text" is contained within the blue box and there is no red visible on the page.</p>
     27         <div id="div1">
     28             <div id="div2">
     29                 This test fails if this text is visible on the page.
     30                 <div>Filler Text</div>
     31             </div>
     32         </div>
     33     </body>
     34 </html>