bidi-override-004

unicode-bidi: bidi-override on list item

WeasyPrint

This browser

Assertion
bidi-override should be applied when specified on list item

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 list item</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 when specified on list item">
10     <style type="text/css">
11       ul, li { margin: 1em 2em; padding: 0; }
12       .override {
13         direction: rtl;
14         unicode-bidi: bidi-override;
15       }
16     </style>
17   </head>
18   
19   <body>
20     <p>Test passes if the word PASS appears below (followed by a bullet on the right).</p>
21     <ul>
22       <li class="override">
23 	SSAP
24       </li>
25     </ul>
26     
27   </body>
28 </html>