diff options
Diffstat (limited to 'Source/WebCore/manual-tests/select-popup-on-spacebar.html')
-rw-r--r-- | Source/WebCore/manual-tests/select-popup-on-spacebar.html | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/Source/WebCore/manual-tests/select-popup-on-spacebar.html b/Source/WebCore/manual-tests/select-popup-on-spacebar.html new file mode 100644 index 0000000..7503eca --- /dev/null +++ b/Source/WebCore/manual-tests/select-popup-on-spacebar.html @@ -0,0 +1,29 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" + "http://www.w3.org/TR/html4/strict.dtd"> +<html> +<head> +</head> +<body onload="document.getElementById('selectId').focus()"> +<p><b>BUG ID:<a href="https://bugs.webkit.org/show_bug.cgi?id=18363">18363</a>.</p> +<p id="description"> +This test ensures that pressing spacebar on Mac, Gtk and Chromium ports or pressing +return in Gtk and Chromium ports will popup the select control when focused. +</p> + +<p id="test" style="background-color:skyblue; padding:3px;"><b>STEPS TO TEST:</b> <br> +Press <em>spacebar</em> or the <em>return</em> key (Gtk only). + +<p id="success" style="background-color:palegreen; padding:3px;"><b>TEST PASS:</b> +Select pops up the menu list</p> + +<p id="failure" style="background-color:#FF3300; padding:3px;"><b>TEST FAIL:</b> +Select does not popup a menu list - nothing happens.</p> + + +<select id="selectId"> + <option>Select</option> + <option>Item 1</option> +</select> + +</body> +</html> |