Index: content/test/data/accessibility/event/menulist-collapse.html |
diff --git a/content/test/data/accessibility/event/menulist-collapse.html b/content/test/data/accessibility/event/menulist-collapse.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..7edd863c0f6cf7cd9962641c2cd39f363156d58a |
--- /dev/null |
+++ b/content/test/data/accessibility/event/menulist-collapse.html |
@@ -0,0 +1,20 @@ |
+<!-- |
+@MAC-DENY:AXLayoutComplete* |
+--> |
+<!DOCTYPE html> |
+<html> |
+<body> |
+<select> |
+ <option selected>Apple</option> |
+ <option>Orange</option> |
+ <option>Banana</option> |
+</select> |
+<script> |
+ document.querySelector('select').focus(); |
+ function go() { |
+ // Setting |selectedIndex| to -1 unselects any selected item. |
+ document.querySelector('select').selectedIndex = -1; |
+ } |
+</script> |
+</body> |
+</html> |