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

Issue 492453002: Make it clear a DocumentNameCollection can only contain HTMLElements (Closed)

Created:
6 years, 4 months ago by Inactive
Modified:
6 years, 4 months ago
Reviewers:
haraken, adamk
CC:
blink-reviews, blink-reviews-html_chromium.org, arv+blink, sof, eae+blinkwatch, abarth-chromium, blink-reviews-dom_chromium.org, dglazkov+blink, blink-reviews-bindings_chromium.org, rwlbuis
Project:
blink
Visibility:
Public.

Description

Make it clear a DocumentNameCollection can only contain HTMLElements Make it clear a DocumentNameCollection can only contain HTMLElements. Only pass HTMLElements to DocumentNameCollection::elementMatches() as DocumentNameCollection can only contain HTMLElements. DocumentNameCollection was being handled in HTMLCollection::elementMatches() as matching any time of Elements, which was inaccurate. Its handling is now moved to isMatchingHTMLElement(), with other collections matching only HTMLElements. DocumentNameCollection::item() also now returns an HTMLElement instead of an Element. R=adamk@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=180653

Patch Set 1 #

Patch Set 2 : Clean up #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -9 lines) Patch
M Source/bindings/core/v8/WindowProxy.cpp View 2 chunks +3 lines, -2 lines 0 comments Download
M Source/core/dom/Document.h View 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/dom/Document.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/DocumentNameCollection.h View 1 2 chunks +4 lines, -1 line 0 comments Download
M Source/core/html/DocumentNameCollection.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLCollection.cpp View 3 chunks +2 lines, -3 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Inactive
6 years, 4 months ago (2014-08-19 18:14:28 UTC) #1
haraken
LGTM
6 years, 4 months ago (2014-08-20 00:35:08 UTC) #2
Inactive
The CQ bit was checked by ch.dumez@samsung.com
6 years, 4 months ago (2014-08-20 15:16:39 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/492453002/20001
6 years, 4 months ago (2014-08-20 15:17:25 UTC) #4
commit-bot: I haz the power
Committed patchset #2 (20001) as 180653
6 years, 4 months ago (2014-08-20 15:20:47 UTC) #5
dglazkov
On 2014/08/20 at 15:20:47, commit-bot wrote: > Committed patchset #2 (20001) as 180653 It looks ...
6 years, 4 months ago (2014-08-20 20:26:18 UTC) #6
dglazkov
6 years, 4 months ago (2014-08-20 20:38:01 UTC) #7
Message was sent while issue was closed.
On 2014/08/20 at 20:26:18, dglazkov wrote:

Nevermind. It's failing upstream in Chromium too.

Powered by Google App Engine
This is Rietveld 408576698