bidi-override-002

unicode-bidi: bidi-override on table cell

WeasyPrint

This browser

Assertion
bidi-override should be applied to table-cell content when specified on the cell

Source

 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 2 <html>
 3   <head>
 4     <title>CSS Test: unicode-bidi: bidi-override on table cell</title>
 5     <link rel="author" title="Eira Monstad, Opera Software ASA" href="mailto:public-testsuites@opera.com">
 6     <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#propdef-unicode-bidi">
 7     <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#direction">
 8     <meta name="flags" content="">
 9     <meta name="assert" content="bidi-override should be applied to table-cell content when specified on the cell">
10     <style type="text/css">
11       .override {
12       direction: rtl;
13       unicode-bidi: bidi-override;
14       }
15     </style>
16   </head>
17   
18   <body>
19     <p>
20       The lines below should be identical, except whitespace:
21     </p>
22     <table>
23       <tr>
24 	<td class="override">
25 	  cba
26 	</td>
27       </tr>
28     </table>
29     
30     <p>
31       abc
32     </p>
33     
34   </body>
35 </html>