unicode-bidi-002

Unicode-bidi set to 'embed'

WeasyPrint

This browser

Assertion
The property 'unicode-bidi' set to 'embed' opens a new level of embedding in the Unicode bi-directional algorithm.

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 set to 'embed'</title>
 5         <link rel="author" title="Microsoft" href="http://www.microsoft.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="The property 'unicode-bidi' set to 'embed' opens a new level of embedding in the Unicode bi-directional algorithm.">
10         <style type="text/css">
11             span
12             {
13                 unicode-bidi: embed;
14             }
15             div
16             {
17                 border: 2px solid blue;
18                 direction: rtl;
19             }
20         </style>
21     </head>
22     <body>
23         <p>Test passes if the letters below are in alphabetic order.</p>
24         <div>IJ K <span>DEF GH</span> AB C</div>
25     </body>
26 </html>