blob: 146551a63d53d064769c308cf089188fd0c5adeb [file] [log] [blame]
adele68afa0b2007-02-05 23:25:44 +00001<style>
mitz@apple.comda56eb92008-01-17 18:55:06 +00002@import url(resources/Mac-compatible-font-fallback.css);
3
adele68afa0b2007-02-05 23:25:44 +00004.bidi2 {
5 direction: rtl;
6 -webkit-rtl-ordering: logical;
7 max-width: 100px;
8}
adele68afa0b2007-02-05 23:25:44 +00009.bidi4 {
10 direction: ltr;
11 -webkit-rtl-ordering: logical;
12 max-width: 100px;
13}
14
15.bidi5 {
16 max-width: 100px;
17}
18</style>
19<p>
20This tests that bidirectional text is correctly rendered when using ATSUI in list box controls.<br>
21The order of the text below each list box should match the order of the select's option text.
22</p>
bdash4b582b72007-07-24 09:55:33 +000023 1) direction: rtl;<br>
adele68afa0b2007-02-05 23:25:44 +000024<select size="2" class="bidi2"><option>a&#x0300;bc&#x05d0;&#x05e4;&#x05e8;&#x05e1;&#x05de;&#x05d5;&#x05df;</option></select><br>
25<div class="bidi2">a&#x0300;bc&#x05d0;&#x05e4;&#x05e8;&#x05e1;&#x05de;&#x05d5;&#x05df;</div><br>
bdash4b582b72007-07-24 09:55:33 +000026 2) direction: ltr;<br>
adele68afa0b2007-02-05 23:25:44 +000027<select size="2" class="bidi4"><option>a&#x0300;bc&#x05d0;&#x05e4;&#x05e8;&#x05e1;&#x05de;&#x05d5;&#x05df;</option></select><br>
28<div class="bidi4">a&#x0300;bc&#x05d0;&#x05e4;&#x05e8;&#x05e1;&#x05de;&#x05d5;&#x05df;</div><br>
bdash4b582b72007-07-24 09:55:33 +000029 3) No style<br>
adele68afa0b2007-02-05 23:25:44 +000030<select size="2" class="bidi5"><option>a&#x0300;bc&#x05d0;&#x05e4;&#x05e8;&#x05e1;&#x05de;&#x05d5;&#x05df;</option></select><br>
31<div class="bidi5">a&#x0300;bc&#x05d0;&#x05e4;&#x05e8;&#x05e1;&#x05de;&#x05d5;&#x05df;</div><br>