tor-browser

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

border-collapse-applies-to-014.xht (1549B)


      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: Border-collapse and 'display: table-cell' elements</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#propdef-border-collapse" />
      7         <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#borders" />
      8         <meta name="assert" content="Border-collapse does not apply to 'display: table-cell' elements." />
      9         <style type="text/css">
     10             #table
     11             {
     12                 display: table;
     13             }
     14             #tr
     15             {
     16                 display: table-row;
     17             }
     18             .test
     19             {
     20                 border-collapse: collapse;
     21                 display: table-cell;
     22                 height: 100px;
     23                 width: 100px;
     24             }
     25             #left
     26             {
     27                 border-right: 10px solid blue;
     28             }
     29             #right
     30             {
     31                 border-left: 10px dotted orange;
     32             }
     33         </style>
     34     </head>
     35     <body>
     36         <p>Test passes if below there is a vertical solid blue line, and to its right side, a dotted orange line.</p>
     37         <div id="table">
     38             <div id="tr">
     39                 <div id="left" class="test"></div>
     40                 <div id="right" class="test"></div>
     41             </div>
     42         </div>
     43     </body>
     44 </html>