bidi-glyph-mirroring-002

unicode-bidi: bidi-override - glyph mirroring

WeasyPrint

This browser

Assertion
Glyph mirroring of characters with unicode Bidi_Mirrored property should be performed direction:rtl is applied

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 - glyph mirroring</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     <link rel="help" href="http://unicode.org/reports/tr9/#Mirroring">
 8     <meta name="flags" content="">
 9     <meta name="assert" content="Glyph mirroring of characters with unicode Bidi_Mirrored property should be performed direction:rtl is applied">
10     <style type="text/css">
11       div {
12       direction:rtl;
13       text-align: left;
14       }
15     </style>
16   </head>
17   <body>
18     
19     <p>The lines below should be identical:</p>
20     <p>(a b א) c d</p>
21     
22     <div>
23       c d (א a b)
24     </div>
25     
26   </body>
27 </html>