tor-browser

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

bidi-border-collapse-002.xht (1261B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
      2 <html xmlns="http://www.w3.org/1999/xhtml">
      3   <head>
      4     <link rel="author" title="Eira Monstad, Opera Software ASA" href="mailto:public-testsuites@opera.com"/>
      5     <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#collapsing-borders"/>
      6     <meta name="assert" content="Collapsed borders should behave the same way in ltr and rtl contexts"/>
      7     <title>CSS Test: border-collapse in bidi context - border-left</title>
      8     <style type="text/css"><![CDATA[
      9       table {
     10       border-collapse:collapse;
     11       margin-bottom: 1em;
     12       }
     13       tr {
     14       border-left: 5px solid fuchsia;
     15       border-right: 5px solid purple;
     16       }
     17       td.right {
     18       background-color: yellow;
     19       border-left: 5px solid orange;
     20       }
     21       td.left {
     22       background-color: aqua;
     23       border-left: 5px solid teal;
     24       }
     25     ]]></style>
     26   </head>
     27 
     28   <body>
     29 
     30     <p>The two tables should be identical:</p>
     31 
     32     <table dir="rtl">
     33       <tr>
     34 	<td class="right">XX XX XX</td>
     35 	<td class="left">XX</td>
     36       </tr>
     37     </table>
     38 
     39     <table dir="ltr">
     40       <tr>
     41 	<td class="left">XX</td>
     42 	<td class="right">XX XX XX</td>
     43       </tr>
     44     </table>
     45 
     46   </body>
     47 </html>