bidi-override-003

unicode-bidi: bidi-override on list

WeasyPrint

This browser

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

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</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 not be applied to list item when specified on ul">
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 class="override">
22       <li>
23 	PASS
24       </li>
25     </ul>
26     
27   </body>
28 </html>