1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
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="flags" content="">
7 <meta name="assert" content="Collapsed borders should behave the same way in ltr and rtl contexts">
8 <title>CSS Test: border-collapse in bidi context - border-right</title>
9 <style type="text/css">
10 table {
11 border-collapse:collapse;
12 margin-bottom: 1em;
13 }
14 tr {
15 border-left: 5px solid fuchsia;
16 border-right: 5px solid purple;
17 }
18 td.right {
19 background-color: yellow;
20 border-right: 5px solid orange;
21 }
22 td.left {
23 background-color: aqua;
24 border-right: 5px solid teal;
25 }
26 </style>
27 </head>
28
29 <body>
30
31 <p>The two tables should be identical:</p>
32
33 <table dir="rtl">
34 <tr>
35 <td class="right">XX XX XX</td>
36 <td class="left">XX</td>
37 </tr>
38 </table>
39
40
41 <table dir="ltr">
42 <tr>
43 <td class="left">XX</td>
44 <td class="right">XX XX XX</td>
45 </tr>
46 </table>
47
48 </body>
49 </html>