Index: LayoutTests/fast/forms/select/listbox-with-display-none-option.html |
diff --git a/LayoutTests/fast/forms/select/listbox-with-display-none-option.html b/LayoutTests/fast/forms/select/listbox-with-display-none-option.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a053cedfc53341c55eb94980b0988889068215ab |
--- /dev/null |
+++ b/LayoutTests/fast/forms/select/listbox-with-display-none-option.html |
@@ -0,0 +1,20 @@ |
+<!doctype html> |
keishi
2014/04/11 15:07:09
We should add tests for
- changing style from js a
spartha
2014/04/12 18:53:22
Done.
|
+<html> |
+<head> |
+</head> |
+<body> |
+<p> |
+ The list box should not display items with display: none. "Four" and "Six" should not be displayed in the list. |
+</p> |
+<select size="7"> |
+ <option>One</option> |
+ <option>Two</option> |
+ <option>Three</option> |
+ <option style="display: none">Four</option> |
+ <option>Five</option> |
+ <option style="display: none">Six</option> |
+ <option>Seven</option> |
+</select> |
+</body> |
+</html> |
+ |