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

Side by Side 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <select size=20>
3 <optgroup label=group id=group>
4 <option>apple</option>
5 <option label=banana></option>
6 </optgroup>
7 <option label=cherry></option>
8 </select>
9
10 <script>
11 var group = document.getElementById('group');
12 group.appendChild(new Option('durian'));
13 var nestedGroup = document.createElement('optgroup');
14 nestedGroup.label = 'nested';
15 nestedGroup.appendChild(new Option('fig'));
16 group.appendChild(nestedGroup);
17 </script>
OLDNEW
« 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