1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml" >
4 <title>Test drop-down item's alignment in <select>/<option></title>
5 <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=UTF-8">
9 select drop-down items' alignment should be determined by the directionality of
12 The drop-down items in the following <select> should be left-aligned.
15 <option>abc def</option>
16 <option>שנב גקכ</option>
17 <option dir="rtl">abc שנב def</option>
18 <option dir="ltr">שנב abc גקכ</option>
19 <option dir="rtl">hi!</option>
20 <option dir="ltr">hi!</option>
23 The drop-down items in the second <select> should be right-aligned.
26 <option>abc def</option>
27 <option>שנב גקכ</option>
28 <option dir="rtl">abc שנב def</option>
29 <option dir="ltr">שנב abc גקכ</option>
30 <option dir="rtl">hi!</option>
31 <option dir="ltr">hi!</option>