tor-browser

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

border-collapse-applies-to-007.xht (1480B)


      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: inline-table' 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 applies to 'display: inline-table' elements." />
      9         <style type="text/css">
     10             #test
     11             {
     12                 border-collapse: collapse;
     13                 display: inline-table;
     14             }
     15             #tr
     16             {
     17                 display: table-row;
     18             }
     19             #left, #right
     20             {
     21                 display: table-cell;
     22                 height: 100px;
     23                 width: 100px;
     24             }
     25             #left
     26             {
     27                 border-right: 10px solid black;
     28             }
     29             #right
     30             {
     31                 border-left: 10px dotted red;
     32             }
     33         </style>
     34     </head>
     35     <body>
     36         <p>Test passes if there is no red visible on the page.</p>
     37         <div id="test">
     38             <div id="tr">
     39                 <div id="left"></div>
     40                 <div id="right"></div>
     41             </div>
     42         </div>
     43     </body>
     44 </html>