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

Issue 2548453003: FIELDSET element: |elements| IDL attribute should return an HTMLCollection, not HTMLFormControlsCol… (Closed)

Created:
4 years ago by tkent
Modified:
4 years ago
Reviewers:
kochi
CC:
blink-reviews, blink-reviews-html_chromium.org, blink-reviews-w3ctests_chromium.org, chromium-reviews, dglazkov+blink, tfarina
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

FIELDSET element: |elements| IDL attribute should return an HTMLCollection, not HTMLFormControlsCollection. Specification: https://html.spec.whatwg.org/multipage/forms.html#dom-fieldset-elements Intent: https://groups.google.com/a/chromium.org/forum/#!topic/Blink-dev/1WO1qyjG3GQ * HTMLFormControlsCollection: Remove <fieldset> support * HTMLCollection: Add support for FormControls collection rooted at <fieldset>. Note that some functions are used by HTMLFormControlsCollection too. * Update tests Make sure RadioNodeList isn't used. Unlike HTMLFormControlsCollection, fieldset.elements doesn't have an exception for <input type=image> [1]. So elements.length increased. [1] https://html.spec.whatwg.org/multipage/forms.html#dom-form-elements BUG=665291 Committed: https://crrev.com/58c06a5f1b87ec32101c95e17f52189fed28158a Cr-Commit-Position: refs/heads/master@{#435946}

Patch Set 1 #

Total comments: 2

Patch Set 2 : blank lines #

Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -186 lines) Patch
M third_party/WebKit/LayoutTests/fast/forms/fieldset/fieldset-elements.html View 4 chunks +16 lines, -15 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/forms/fieldset/fieldset-elements-expected.txt View 2 chunks +16 lines, -15 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/forms/fieldset/fieldset-form-collection-radionode-list.html View 1 chunk +4 lines, -65 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/forms/fieldset/fieldset-form-collection-radionode-list-expected.txt View 1 chunk +2 lines, -44 lines 0 comments Download
D third_party/WebKit/LayoutTests/imported/wpt/html/semantics/forms/the-fieldset-element/HTMLFieldSetElement-expected.txt View 1 chunk +0 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/frame/UseCounter.h View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/HTMLCollection.cpp View 1 6 chunks +12 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLFieldSetElement.h View 3 chunks +4 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLFieldSetElement.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLFieldSetElement.idl View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/HTMLFormControlsCollection.cpp View 5 chunks +16 lines, -27 lines 0 comments Download

Messages

Total messages: 19 (13 generated)
tkent
kochi@, would you review this please?
4 years ago (2016-12-02 08:47:46 UTC) #7
kochi
lgtm https://codereview.chromium.org/2548453003/diff/1/third_party/WebKit/Source/core/html/HTMLCollection.cpp File third_party/WebKit/Source/core/html/HTMLCollection.cpp (right): https://codereview.chromium.org/2548453003/diff/1/third_party/WebKit/Source/core/html/HTMLCollection.cpp#newcode242 third_party/WebKit/Source/core/html/HTMLCollection.cpp:242: nit: no empty lines on L242 & L246? ...
4 years ago (2016-12-02 09:15:19 UTC) #8
tkent
https://codereview.chromium.org/2548453003/diff/1/third_party/WebKit/Source/core/html/HTMLCollection.cpp File third_party/WebKit/Source/core/html/HTMLCollection.cpp (right): https://codereview.chromium.org/2548453003/diff/1/third_party/WebKit/Source/core/html/HTMLCollection.cpp#newcode242 third_party/WebKit/Source/core/html/HTMLCollection.cpp:242: On 2016/12/02 at 09:15:19, kochi wrote: > nit: no ...
4 years ago (2016-12-02 13:09:23 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2548453003/20001
4 years ago (2016-12-02 13:09:34 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-12-02 16:05:46 UTC) #17
commit-bot: I haz the power
4 years ago (2016-12-02 16:08:56 UTC) #19
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/58c06a5f1b87ec32101c95e17f52189fed28158a
Cr-Commit-Position: refs/heads/master@{#435946}

Powered by Google App Engine
This is Rietveld 408576698