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