bidi-inline-001

unicode-bidi: bidi-override on inline - rtl

WeasyPrint

This browser

Assertion
bidi-override should be applied to inlines with no interruptions to surrounding text

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 inline - rtl</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#direction">
 7     <meta name="flags" content="">
 8     <meta name="assert" content="bidi-override should be applied to inlines with no interruptions to surrounding text">
 9     <style type="text/css">
10       .rtol {
11       direction: rtl;
12       unicode-bidi: bidi-override;
13       }
14     </style>
15   </head>
16 
17   <body>
18     <p>The two lines below should be identical:</p>
19     <p>Readable</p>
20     <p>Re<span class="rtol">bada</span>le</p>
21   </body>
22 </html>