bidi-011

The bidi algorithm and inlines in CSS wrapping bidi formatting characters

WeasyPrint

This browser

Source

 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 2 <html lang="en">
 3  <head>
 4   <title>CSS Test: The bidi algorithm and inlines in CSS wrapping bidi formatting characters</title>
 5   <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch">
 6   <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/box/inline/bidi/011.html" type="text/html">
 7   <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#bidi-box-model">
 8   <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#direction">
 9   <link rel="help" href="http://unicode.org/reports/tr9/">
10   <style type="text/css">
11    div div { border: solid black; color: navy; margin: 1em; padding: 1em; font: 2em monospace; }
12    span { border: solid orange; padding: 0.1em 1em; margin: 0.1em 1em; background: yellow; }
13   </style>
14  </head>
15  <body>
16   <p> The following two lines should be identical. (Force bidi: א) </p>
17   <div>
18    <div class="test">TE<span>&#x202E;TSET</span>&#x202D;ST </div>
19    <div class="reference">TEST<span>TEST</span></div>
20   </div>
21  </body>
22 </html>