WebCore/manual-tests/focus-select-when-clicked.html
changeset 0 4f2f89ce4247
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/WebCore/manual-tests/focus-select-when-clicked.html	Fri Sep 17 09:02:29 2010 +0300
@@ -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>