Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(529)

Unified Diff: LayoutTests/fast/forms/select/listbox-with-display-none-option.html

Issue 189543012: Update <select> when any of its <option> children has "display: none" (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>
+

Powered by Google App Engine
This is Rietveld 408576698