|
Fix the HTMLSelectElement.prototype.remove() method
Fix the HTMLSelectElement.prototype.remove() method so that it behaves like
Element.remove() if no argument is passed (from ChildNode). This behavior
is consistent with Firefox.
Also get rid of custom code for HTMLSelectElement.remove() and
HTMLOptionsCollection.remove() by leveraging operation overloading in Web
IDL.
BUG= 277660
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=156917
Total comments: 5
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+73 lines, -157 lines) |
Patch |
|
M |
LayoutTests/fast/js/resources/select-options-remove.js
|
View
|
|
3 chunks |
+30 lines, -17 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/js/select-options-remove-expected.txt
|
View
|
|
3 chunks |
+28 lines, -18 lines |
0 comments
|
Download
|
|
M |
Source/bindings/bindings.gypi
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/bindings/v8/custom/V8HTMLOptionsCollectionCustom.cpp
|
View
|
|
2 chunks |
+0 lines, -8 lines |
0 comments
|
Download
|
|
D |
Source/bindings/v8/custom/V8HTMLSelectElementCustom.h
|
View
|
|
1 chunk |
+0 lines, -45 lines |
0 comments
|
Download
|
|
D |
Source/bindings/v8/custom/V8HTMLSelectElementCustom.cpp
|
View
|
|
1 chunk |
+0 lines, -63 lines |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLOptionsCollection.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLOptionsCollection.cpp
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLOptionsCollection.idl
|
View
|
|
2 chunks |
+3 lines, -1 line |
2 comments
|
Download
|
|
M |
Source/core/html/HTMLSelectElement.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLSelectElement.idl
|
View
|
|
2 chunks |
+4 lines, -3 lines |
3 comments
|
Download
|
Total messages: 12 (0 generated)
|