OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../../resources/ahem.js"></script> | 4 <script src="../../resources/ahem.js"></script> |
5 <script src="../../resources/run-after-layout-and-paint.js"></script> | 5 <script src="../../resources/run-after-layout-and-paint.js"></script> |
6 <script src="resources/selection.js"></script> | 6 <script src="resources/selection.js"></script> |
7 <style> | 7 <style> |
8 div { | 8 div { |
| 9 direction: rtl; |
9 font-family: Ahem; | 10 font-family: Ahem; |
| 11 unicode-bidi: bidi-override; |
10 width: 2em; | 12 width: 2em; |
11 } | 13 } |
12 </style> | 14 </style> |
13 </head> | 15 </head> |
14 <body onload="selectRange(container, 0, container, 1);"> | 16 <body onload="selectRange(container, 0, container, 1);"> |
15 <!-- Two lines in one block which should wrap and include space representing | 17 <!-- Two lines in one block which should wrap and *not* include space representi
ng |
16 a newline only at the end of the first line. --> | 18 a newline at the end of the first line as RTL is not yet supported. --> |
17 <div id="container"> | 19 <div id="container"> |
18 xx y | 20 xx y |
19 </div> | 21 </div> |
20 </body> | 22 </body> |
OLD | NEW |