1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN"
2 "http://www.w3.org/TR/html4/loose.dtd">
5 <title>Directional overrides
</title>
6 <style type=
"text/css">
7 table
{border-spacing:0; border-collapse:collapse
; text-align:center
;}
8 td
{border: 1px solid green
; padding:4px;}
12 <p>All rows should be identical to the reference row.
</p>
15 <td style=
"text-align:right">Reference
</td>
16 <td>abcdef
אבגghijkl
17 זחטיכלabc
אבגדהו</td>
18 <td style=
"direction:rtl;">ghijkl
אבגabcdef
19 אבגדהוabc
זחטיכל</td>
22 <td style=
"text-align:right">CSS, siblings
</td>
23 <td>abc
<span style=
"direction:rtl; unicode-bidi:bidi-override;">ihg
אבגfed
</span>jkl
אבג<span style=
"direction:ltr; unicode-bidi:bidi-override;">טחזabc
והד</span>יכל</td>
24 <td style=
"direction:rtl;">abc
<span style=
"direction:rtl; unicode-bidi:bidi-override;">ihg
אבגfed
</span>jkl
אבג<span style=
"direction:ltr; unicode-bidi:bidi-override;">טחזabc
והד</span>יכל</td>
27 <td style=
"text-align:right">CSS, children
</td>
28 <td><span>abc
<span style=
"direction:rtl; unicode-bidi:bidi-override;">ihg
אבגfed
</span>jkl
</span>
29 <span>אבג<span style=
"direction:ltr; unicode-bidi:bidi-override;">טחזabc
והד</span>יכל</span></td>
30 <td style=
"direction:rtl;"><span>abc
<span style=
"direction:rtl; unicode-bidi:bidi-override;">ihg
אבגfed
</span>jkl
</span>
31 <span>אבג<span style=
"direction:ltr; unicode-bidi:bidi-override;">טחזabc
והד</span>יכל</span></td>
34 <td style=
"text-align:right">Unicode
</td>
35 <td>abc
‮ihg
אבגfed
‬jkl
36 אבג‭טחזabc
והד‬יכל</td>
37 <td style=
"direction:rtl;">abc
‮ihg
אבגfed
‬jkl
38 אבג‭טחזabc
והד‬יכל</td>
41 <p>The CSS column should be identical to the reference column.
</p>
49 <p>abcdef
אבגghijkl
</p>
50 <p>זחטיכלabc
אבגדהו</p>
53 <p style=
"direction:rtl; unicode-bidi:bidi-override;">lkjihg
אבגfedcba
</p>
54 <p style=
"direction:ltr; unicode-bidi:bidi-override;">לכיטחזabc
והדגבא</p>