summaryrefslogtreecommitdiffstats
path: root/WebCore/manual-tests/focus-select-when-clicked.html
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2009-03-03 19:30:52 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2009-03-03 19:30:52 -0800
commit8e35f3cfc7fba1d1c829dc557ebad6409cbe16a2 (patch)
tree11425ea0b299d6fb89c6d3618a22d97d5bf68d0f /WebCore/manual-tests/focus-select-when-clicked.html
parent648161bb0edfc3d43db63caed5cc5213bc6cb78f (diff)
downloadexternal_webkit-8e35f3cfc7fba1d1c829dc557ebad6409cbe16a2.zip
external_webkit-8e35f3cfc7fba1d1c829dc557ebad6409cbe16a2.tar.gz
external_webkit-8e35f3cfc7fba1d1c829dc557ebad6409cbe16a2.tar.bz2
auto import from //depot/cupcake/@135843
Diffstat (limited to 'WebCore/manual-tests/focus-select-when-clicked.html')
-rw-r--r--WebCore/manual-tests/focus-select-when-clicked.html29
1 files changed, 29 insertions, 0 deletions
diff --git a/WebCore/manual-tests/focus-select-when-clicked.html b/WebCore/manual-tests/focus-select-when-clicked.html
new file mode 100644
index 0000000..3f1e798
--- /dev/null
+++ b/WebCore/manual-tests/focus-select-when-clicked.html
@@ -0,0 +1,29 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http://www.w3.org/TR/html4/strict.dtd">
+<html lang="en">
+<head>
+</head>
+<body>
+<p><b>BUG ID:</b> <a href="rdar://problem/4011544">4011544</a> selecting an item from a select menu with the mouse doesn't place the focus on the menu</p>
+
+<p id="test" style="background-color:skyblue; padding:3px;"><b>STEPS TO TEST:</b> <br>
+1. Click on the pop-up menu below titled "Click Here", and select OPTION 1 from the list. <br>
+2. Verify that a blue focus ring is drawn around the pop-up menu. <br>
+3. Press tab, and verify that focus moves to TEXT AREA 2 <br></p>
+
+<p id="success" style="background-color:palegreen; padding:3px;"><b>TEST PASS:</b>
+Blue focus ring is drawn around the pop-up menu when clicked, then focus moves to TEXT AREA 2 after pressing tab.</p>
+
+<p id="failure" style="background-color:#FF3300; padding:3px;"><b>TEST FAIL:</b>
+No blue focus ring drawn around the pop-up menu when clicked, or after selecting OPTION 1 from the list. After selecting option 1 and pressing tab, focus will land on the first focusable element on the page.
+</p>
+
+<input type="text" value="TEXT AREA 1">
+<select>
+ <option>Click Here</option>
+ <option>OPTION 1</option>
+</select>
+<input type="text" value="TEXT AREA 2">
+
+</body>
+</html>