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

Unified Diff: LayoutTests/fast/forms/select/listbox-group-indent.html

Issue 783983005: Fix regression caused by r178354 where options in optgroup not indented (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Reverted change to Element.cpp Created 6 years 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
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/forms/select/listbox-group-indent-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/forms/select/listbox-group-indent.html
diff --git a/LayoutTests/fast/forms/select/listbox-group-indent.html b/LayoutTests/fast/forms/select/listbox-group-indent.html
new file mode 100644
index 0000000000000000000000000000000000000000..10abce2c7f4a296d1226868b594e2dfa212df636
--- /dev/null
+++ b/LayoutTests/fast/forms/select/listbox-group-indent.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<select size=20>
+ <optgroup label=group id=group>
+ <option>apple</option>
+ <option label=banana></option>
+ </optgroup>
+ <option label=cherry></option>
+</select>
+
+<script>
+var group = document.getElementById('group');
+group.appendChild(new Option('durian'));
+var nestedGroup = document.createElement('optgroup');
+nestedGroup.label = 'nested';
+nestedGroup.appendChild(new Option('fig'));
+group.appendChild(nestedGroup);
+</script>
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/forms/select/listbox-group-indent-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698