summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/manual-tests/autofill_alignment.html
blob: 4863e41a0f819904354bdc8d785e81afd02b2bd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<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>