summaryrefslogtreecommitdiffstats
path: root/WebCore/manual-tests/select_dropdown_box_alignment.html
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/manual-tests/select_dropdown_box_alignment.html')
-rw-r--r--WebCore/manual-tests/select_dropdown_box_alignment.html30
1 files changed, 30 insertions, 0 deletions
diff --git a/WebCore/manual-tests/select_dropdown_box_alignment.html b/WebCore/manual-tests/select_dropdown_box_alignment.html
new file mode 100644
index 0000000..07035b7
--- /dev/null
+++ b/WebCore/manual-tests/select_dropdown_box_alignment.html
@@ -0,0 +1,30 @@
+<!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 <select> drop-down box's alignment</title>
+<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=UTF-8">
+</head>
+<body>
+<p>
+For RTL, select drop-down box's should be right aligned with the &lt;select&gt;
+element and expands to left instead of right.
+<p>
+The drop-down box in the following &lt;select&gt; should be left-aligned and expand to right.
+<br>
+<select style="width:100px">
+<option>Arabic</option>
+<option>Hebrew</option>
+<option>English (United States)</option>
+<option>Chinese (Simplified Chiense)</option>
+</select>
+<br>
+The drop-down box in the second &lt;select&gt; should be right-aligned and expand to left.
+<p>
+<select dir="rtl" style="width:100px">
+<option>Arabic</option>
+<option>Hebrew</option>
+<option>English (United States)</option>
+<option>Chinese (Simplified Chiense)</option>
+</select>
+</body>
+</html>