tor-browser

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

row-visibility-002.xht (1742B)


      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: Row group and the 'visibility' property</title>
      5         <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
      6         <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#dynamic-effects" />
      7         <link rel="match" href="../reference/ref-filled-green-100px-square.xht" />
      8         <meta name="assert" content="The 'visibility' value of 'collapse' applies to table row groups." />
      9         <style type="text/css">
     10             #table
     11             {
     12                 display: table;
     13             }
     14             #rowgroup1
     15             {
     16                 background: red;
     17                 visibility: collapse;
     18             }
     19             #rowgroup2
     20             {
     21                 background: green;
     22             }
     23             #rowgroup1, #rowgroup2
     24             {
     25                 display: table-row-group;
     26             }
     27             .row
     28             {
     29                 display: table-row;
     30             }
     31             .cell
     32             {
     33                 display: table-cell;
     34                 height: 100px;
     35                 width: 100px;
     36             }
     37         </style>
     38     </head>
     39     <body>
     40         <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     41         <div id="table">
     42             <div id="rowgroup1">
     43                 <div id="row">
     44                     <div class="cell"></div>
     45                 </div>
     46             </div>
     47             <div id="rowgroup2">
     48                 <div class="row">
     49                     <div class="cell"></div>
     50                 </div>
     51             </div>
     52         </div>
     53     </body>
     54 </html>