diff options
Diffstat (limited to 'WebCore/manual-tests/focus-select-when-clicked.html')
-rw-r--r-- | WebCore/manual-tests/focus-select-when-clicked.html | 29 |
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> |