blob: 4863e41a0f819904354bdc8d785e81afd02b2bd7 [file] [log] [blame]
<html>
<head>
<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=UTF-8">
<title>
Test auto-fill drop-down items' alignment
</title>
</head>
<body>
<p>
Autofill drop-down item's alignment should be the same as the input field.
It should align left if the input field's direction is ltr. It should
align right if the input field's direction is rtl.
<p> Try type some text in the "First name" and "Last name" input box,
then click "Submit". Open the file again, double click the "First name"
field, the drop-down box should be opened with the items aligned right.
Double click the "Last name" field, the drop-down box should be opened
with the items aligned left.
<br>
<form action="form_action.asp" method="get">
First name: <input type="text" name="fname" dir="rtl"/><br />
Last name: <input type="text" name="lname" /><br />
<input type="submit" value="Submit" />
</form>
</body>
</html>