Index: LayoutTests/fast/forms/select/popup-menu-appearance-single-option.html |
diff --git a/LayoutTests/fast/forms/select/popup-menu-appearance-single-option.html b/LayoutTests/fast/forms/select/popup-menu-appearance-single-option.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a396deccf1ae604fb57060a4d361b743c90f0a73 |
--- /dev/null |
+++ b/LayoutTests/fast/forms/select/popup-menu-appearance-single-option.html |
@@ -0,0 +1,33 @@ |
+<!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> |
+<style> |
+option.styled { |
+ font-style: italic; |
+ font-weight: bold; |
+ font-family: cursive; |
+ font-size: 24px; |
+ background-color: green; |
+ color: red; |
+} |
+</style> |
+<select id="menu"> |
+ <option>foo</option> |
+</select> |
+<p id="description" style="opacity: 0"></p> |
+<div id="console" style="opacity: 0"></div> |
+<script> |
+openPicker(document.getElementById('menu'), finishJSTest, function () { |
+ testFailed('picker didn\'t open') |
+ finishJSTest(); |
+}); |
+</script> |
+</body> |
+</html> |