eric@webkit.org | 087ef48 | 2009-09-26 13:12:20 +0000 | [diff] [blame] | 1 | <html> |
| 2 | <head> |
| 3 | <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=UTF-8"> |
| 4 | <title> |
| 5 | Test auto-fill drop-down items' alignment |
| 6 | </title> |
| 7 | </head> |
| 8 | <body> |
| 9 | <p> |
| 10 | Autofill drop-down item's alignment should be the same as the input field. |
| 11 | It should align left if the input field's direction is ltr. It should |
| 12 | align right if the input field's direction is rtl. |
| 13 | <p> Try type some text in the "First name" and "Last name" input box, |
| 14 | then click "Submit". Open the file again, double click the "First name" |
| 15 | field, the drop-down box should be opened with the items aligned right. |
| 16 | Double click the "Last name" field, the drop-down box should be opened |
| 17 | with 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> |