tor-browser

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

border-collapse-applies-to-015.xht (1625B)


      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-caption' 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-caption' elements." />
      9         <style type="text/css">
     10             #table
     11             {
     12                 display: table;
     13                 height: 100px;
     14                 width: 100px;
     15             }
     16             .test
     17             {
     18                 border-collapse: collapse;
     19                 display: table-caption;
     20                 height: 100px;
     21                 width: 100px;
     22             }
     23             #top
     24             {
     25                 border-bottom: 10px solid blue;
     26             }
     27             #tr
     28             {
     29 
     30                 display: table-row;
     31             }
     32             #bottom
     33             {
     34                 display: table-cell;
     35                 border-top: 10px dotted orange;
     36             }
     37         </style>
     38     </head>
     39     <body>
     40         <p>Test passes if below there is a horizontal solid blue line above a dotted orange line.</p>
     41         <div id="table">
     42             <div id="top" class="test"></div>
     43             <div id="tr">
     44                 <div id="bottom"></div>
     45             </div>
     46         </div>
     47     </body>
     48 </html>