blob: 4863e41a0f819904354bdc8d785e81afd02b2bd7 [file] [log] [blame]
eric@webkit.org087ef482009-09-26 13:12:20 +00001<html>
2<head>
3<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=UTF-8">
4<title>
5Test auto-fill drop-down items' alignment
6</title>
7</head>
8<body>
9<p>
10Autofill drop-down item's alignment should be the same as the input field.
11It should align left if the input field's direction is ltr. It should
12align right if the input field's direction is rtl.
13<p> Try type some text in the "First name" and "Last name" input box,
14then click "Submit". Open the file again, double click the "First name"
15field, the drop-down box should be opened with the items aligned right.
16Double click the "Last name" field, the drop-down box should be opened
17with the items aligned left.
18<br>
19<form action="form_action.asp" method="get">
20 First name: <input type="text" name="fname" dir="rtl"/><br />
21 Last name: <input type="text" name="lname" /><br />
22 <input type="submit" value="Submit" />
23</form>
24</body>
25</html>