Index: content/test/data/accessibility/event/menulist-expand.html |
diff --git a/content/test/data/accessibility/event/menulist-expand.html b/content/test/data/accessibility/event/menulist-expand.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..057adc6551aca3f9235376bb71500c3f96b06cbc |
--- /dev/null |
+++ b/content/test/data/accessibility/event/menulist-expand.html |
@@ -0,0 +1,22 @@ |
+<!-- |
+@MAC-DENY:AXLayoutComplete* |
+--> |
+<!DOCTYPE html> |
+<html> |
+<body> |
+<select> |
+ <option>Apple</option> |
+ <option>Orange</option> |
+ <option>Banana</option> |
+</select> |
+<script> |
+ document.querySelector('select').focus(); |
+ function go() { |
+ var comboBox = document.querySelector('select'); |
+ var clickEvent = document.createEvent('MouseEvents'); |
+ clickEvent.initMouseEvent('mousedown', true, true, window); |
+ comboBox.dispatchEvent(clickEvent); |
+ } |
+</script> |
+</body> |
+</html> |