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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/forms/select/select-remove-option-single.html

Issue 2372913002: fixed <select> element isn't updated after its single option removing. (Closed)
Patch Set: LayoutTest Code updated Created 4 years, 2 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <title>Test for HTMLSelectElement.remove() on an Options object</title>
3
4 <style type="text/css">
5 select {
6 min-width: 100px;
tkent 2016/09/29 01:14:44 Please indent the content of a ruleset.
7 }
8 </style>
9
10 <select>
11 <option selected>hello</option>
12 </select>
13
14 <a herf="#">Remove option</a>
tkent 2016/09/29 01:14:44 Please remove it.
15
16 <script>
17 window.addEventListener('load', function() {
18 document.querySelector('option').remove();
tkent 2016/09/29 01:14:44 Please indent the content of a function.
19 });
20 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698