OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <html> |
| 3 <head> |
| 4 <meta charset="utf-8"> |
| 5 <link rel="author" title="Aharon Lanin" href="mailto:aharon@google.com"> |
| 6 <link rel="author" title="HTML5 bidi test WG" href="mailto:html5bidi@googleg
roups.com"> |
| 7 <style> |
| 8 body{ |
| 9 font-size:2em; |
| 10 } |
| 11 .test, .ref { |
| 12 border: medium solid gray; |
| 13 width: 400px; |
| 14 margin: 20px; |
| 15 } |
| 16 .comments { display: none; } |
| 17 </style> |
| 18 </head> |
| 19 <body> |
| 20 <div class="instructions" style="display:none"><p>Test passes if the two box
es below look exactly the same.</p></div> |
| 21 <div class="comments"> |
| 22 Key to entities used below: |
| 23 א ... ו - The first six Hebrew letters (strongly RTL). |
| 24 ‭ - The LRO (left-to-right override) formatting character. |
| 25 ‬ - The PDF (pop directional formatting) formatting character; cl
oses LRO. |
| 26 </div> |
| 27 <div class="test"> |
| 28 <div dir="ltr"> |
| 29 ‭b < א‬<br/> |
| 30 ‭>>>‬<br/> |
| 31 ‭ד < c...‬ |
| 32 </div> |
| 33 <div dir="rtl"> |
| 34 ‭a > ב‬<br/> |
| 35 ‭<<<‬<br/> |
| 36 ‭...ג > d‬ |
| 37 </div> |
| 38 </div> |
| 39 <div class="ref"> |
| 40 <div dir="ltr"> |
| 41 ‭b < א‬<br/> |
| 42 ‭>>>‬<br/> |
| 43 ‭ד < c...‬ |
| 44 </div> |
| 45 <div dir="rtl"> |
| 46 ‭a > ב‬<br/> |
| 47 ‭<<<‬<br/> |
| 48 ‭...ג > d‬ |
| 49 </div> |
| 50 </div> |
| 51 </body> |
| 52 </html> |
OLD | NEW |