| <style> |
| @import url(resources/Mac-compatible-font-fallback.css); |
| |
| .bidi2 { |
| direction: rtl; |
| -webkit-rtl-ordering: logical; |
| max-width: 100px; |
| } |
| .bidi4 { |
| direction: ltr; |
| -webkit-rtl-ordering: logical; |
| max-width: 100px; |
| } |
| |
| .bidi5 { |
| max-width: 100px; |
| } |
| </style> |
| <p> |
| This tests that bidirectional text is correctly rendered in list box controls.<br> |
| The order of the text below each list box should match the order of the select's option text. |
| </p> |
| 1) direction: rtl;<br> |
| <select size="2" class="bidi2"><option>abcאפרסמון</option></select><br> |
| <div class="bidi2">abcאפרסמון</div><br> |
| 2) direction: ltr;<br> |
| <select size="2" class="bidi4"><option>abcאפרסמון</option></select><br> |
| <div class="bidi4">abcאפרסמון</div><br> |
| 3) No style<br> |
| <select size="2" class="bidi5"><option>abcאפרסמון</option></select><br> |
| <div class="bidi5">abcאפרסמון</div><br> |