tor-browser

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

contiguous-floated-table-vrl-004.xht (1569B)


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