<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head> <title>Test drop-down item's alignment in <select>/<option></title> <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=UTF-8"> </head> <body> <p> select drop-down items' alignment should be determined by the directionality of <select> tag. <p> The drop-down items in the following <select> should be left-aligned. <br> <select> <option>abc def</option> <option>שנב גקכ</option> <option dir="rtl">abc שנב def</option> <option dir="ltr">שנב abc גקכ</option> <option dir="rtl">hi!</option> <option dir="ltr">hi!</option> </select> <br> The drop-down items in the second <select> should be right-aligned. <p> <select dir="rtl"> <option>abc def</option> <option>שנב גקכ</option> <option dir="rtl">abc שנב def</option> <option dir="ltr">שנב abc גקכ</option> <option dir="rtl">hi!</option> <option dir="ltr">hi!</option> </select> </body> </html>