Index: LayoutTests/fast/forms/select/popup-menu-appearance-many.html |
diff --git a/LayoutTests/fast/forms/select/popup-menu-appearance-many.html b/LayoutTests/fast/forms/select/popup-menu-appearance-many.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..68424caa8fd888138e4a9c6f2ce691706a4bce27 |
--- /dev/null |
+++ b/LayoutTests/fast/forms/select/popup-menu-appearance-many.html |
@@ -0,0 +1,29 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+<script> |
+window.enablePixelTesting = true; |
+</script> |
+<script src="../../../resources/js-test.js"></script> |
+<script src="../resources/picker-common.js"></script> |
+</head> |
+<body> |
+<select id="menu"> |
+</select> |
+<p id="description" style="opacity: 0"></p> |
+<div id="console" style="opacity: 0"></div> |
+<script> |
+var menu = document.getElementById('menu'); |
+for (var i = 0; i < 200; i++) { |
+ var option = new Option('item ' + i); |
+ if (i === 100) |
+ option.selected = true; |
+ menu.appendChild(option); |
+} |
+openPicker(menu, finishJSTest, function () { |
+ testFailed('picker didn\'t open') |
+ finishJSTest(); |
+}); |
+</script> |
+</body> |
+</html> |