tor-browser

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

visibility-005.xht (1220B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      2 
      3 <html xmlns="http://www.w3.org/1999/xhtml">
      4 
      5  <head>
      6 
      7   <title>CSS Test: visibility - descendants of a 'visibility: hidden' element</title>
      8 
      9   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
     10   <link rel="help" href="http://www.w3.org/TR/CSS21/visufx.html#visibility" />
     11   <link rel="help" href="http://www.w3.org/TR/CSS21/changes.html#q250" />
     12   <link rel="match" href="../reference/ref-filled-green-100px-square.xht" />
     13 
     14   <meta name="flags" content="ahem" />
     15   <meta name="assert" content="Descendants of a 'visibility: hidden' element will be visible if they have 'visibility: visible'" />
     16 
     17   <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     18   <style type="text/css"><![CDATA[
     19   div {visibility: hidden;}
     20 
     21   span
     22   {
     23   color: red;
     24   font: 100px/1 Ahem;
     25   }
     26 
     27   span#testpassed
     28   {
     29   color: green;
     30   visibility: visible;
     31   }
     32   ]]></style>
     33 
     34  </head>
     35 
     36  <body>
     37 
     38   <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     39 
     40   <div>
     41       <span id="testpassed">X</span> <span>X</span>
     42   </div>
     43 
     44  </body>
     45 </html>