bidi-glyph-mirroring-001

unicode-bidi: bidi-override - glyph mirroring

WeasyPrint

This browser

Assertion
Glyph mirroring of characters with unicode Bidi_Mirrored property should be performed when unicode-bidi: bidi-override 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 when unicode-bidi: bidi-override is applied">
10     <style type="text/css">
11       .control {
12       text-align: right;
13       }
14       div {
15       direction: rtl;
16       unicode-bidi: bidi-override;
17       }
18     </style>
19   </head>
20   <body>
21     
22     <p>The lines below should be identical:</p>
23     <p class="control">a b (c d).</p>
24     
25     <div>
26       .(d c) b a
27     </div>
28     
29   </body>
30 </html>