tor-browser

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

contiguous-floated-table-vlr-003.xht (1530B)


      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 Writing Modes Test: floated border-collapsing tables (vertical-lr)</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/css-writing-modes-3/#vertical-layout" title="7.1 Principles of Layout in Vertical Writing Modes" />
     11   <link rel="match" href="../reference/ref-filled-green-100px-square.xht" />
     12 
     13   <meta content="This test checks that contiguous floated border-collapsing tables in a 'vertical-lr' context do not overlap." name="assert" />
     14 
     15   <style type="text/css"><![CDATA[
     16   table
     17     {
     18       border-left: red solid 50px;
     19       border-collapse: collapse;
     20       float: left;
     21       height: 100px;
     22       writing-mode: vertical-lr;
     23     }
     24 
     25   td
     26     {
     27       border-left: green solid 50px;
     28       padding: 0px;
     29     }
     30 
     31   div#reference-overlapped-red
     32     {
     33       background-color: red;
     34       height: 100px;
     35       width: 100px;
     36     }
     37   ]]></style>
     38 
     39  </head>
     40 
     41  <body>
     42 
     43   <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     44 
     45   <table id="first">
     46 
     47     <tbody>
     48 
     49       <tr>
     50         <td></td> <td></td>
     51       </tr>
     52 
     53     </tbody>
     54 
     55   </table>
     56 
     57 
     58   <table id="second">
     59 
     60     <tbody>
     61 
     62       <tr>
     63         <td></td> <td></td>
     64       </tr>
     65 
     66     </tbody>
     67 
     68   </table>
     69 
     70 
     71   <div id="reference-overlapped-red"></div>
     72 
     73  </body>
     74 </html>