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

Issue 2496123002: Matching part for >>> (shadow-piercing descendant combinator). (Closed)

Created:
4 years, 1 month ago by kochi
Modified:
4 years, 1 month ago
Reviewers:
hayato, rune
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, chromium-reviews, dglazkov+blink, rwlbuis, Timothy Loh
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Matching part for >>> (shadow-piercing descendant combinator). Parsing part is done in the previous dependent CL. https://codereview.chromium.org/2500813003/ This CL implements matching '>>>' shadow-piercing descendant combinator in static profile. Note that the combinator only pierces through open shadow roots and not V0 or closed shadow roots. BUG=633007 Committed: https://crrev.com/04a4852c265670de8100ceee3e20215f4a56091f Cr-Commit-Position: refs/heads/master@{#433457}

Patch Set 1 : wip #

Patch Set 2 : wip2 #

Patch Set 3 : rebase #

Total comments: 6

Patch Set 4 : rebase #

Patch Set 5 : address rune's comments. #

Total comments: 4

Patch Set 6 : Update comment as Rune suggested. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+143 lines, -3 lines) Patch
M third_party/WebKit/LayoutTests/shadow-dom/query-selector.html View 2 chunks +16 lines, -2 lines 0 comments Download
A third_party/WebKit/LayoutTests/shadow-dom/shadow-piercing-descendant-combinator.html View 1 2 3 4 5 1 chunk +72 lines, -0 lines 2 comments Download
A third_party/WebKit/LayoutTests/shadow-dom/shadow-piercing-descendant-combinator-in-static-profile.html View 1 2 1 chunk +26 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSSelector.cpp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/SelectorChecker.cpp View 1 2 3 4 3 chunks +28 lines, -1 line 0 comments Download

Messages

Total messages: 36 (27 generated)
rune
https://codereview.chromium.org/2496123002/diff/40001/third_party/WebKit/Source/core/css/SelectorChecker.cpp File third_party/WebKit/Source/core/css/SelectorChecker.cpp (right): https://codereview.chromium.org/2496123002/diff/40001/third_party/WebKit/Source/core/css/SelectorChecker.cpp#newcode291 third_party/WebKit/Source/core/css/SelectorChecker.cpp:291: return nullptr; So this can happen if you start ...
4 years, 1 month ago (2016-11-17 10:05:25 UTC) #15
kochi
PTAL (Rune, thanks for your early review!) https://codereview.chromium.org/2496123002/diff/40001/third_party/WebKit/Source/core/css/SelectorChecker.cpp File third_party/WebKit/Source/core/css/SelectorChecker.cpp (right): https://codereview.chromium.org/2496123002/diff/40001/third_party/WebKit/Source/core/css/SelectorChecker.cpp#newcode291 third_party/WebKit/Source/core/css/SelectorChecker.cpp:291: return nullptr; ...
4 years, 1 month ago (2016-11-18 07:31:21 UTC) #16
rune
lgtm https://codereview.chromium.org/2496123002/diff/40001/third_party/WebKit/Source/core/css/SelectorChecker.cpp File third_party/WebKit/Source/core/css/SelectorChecker.cpp (right): https://codereview.chromium.org/2496123002/diff/40001/third_party/WebKit/Source/core/css/SelectorChecker.cpp#newcode291 third_party/WebKit/Source/core/css/SelectorChecker.cpp:291: return nullptr; On 2016/11/18 07:31:21, kochi wrote: > ...
4 years, 1 month ago (2016-11-18 09:16:02 UTC) #19
kochi
Thanks for the review, Rune! Hayato-san, could you review? https://codereview.chromium.org/2496123002/diff/80001/third_party/WebKit/LayoutTests/shadow-dom/query-selector.html File third_party/WebKit/LayoutTests/shadow-dom/query-selector.html (right): https://codereview.chromium.org/2496123002/diff/80001/third_party/WebKit/LayoutTests/shadow-dom/query-selector.html#newcode6 third_party/WebKit/LayoutTests/shadow-dom/query-selector.html:6: ...
4 years, 1 month ago (2016-11-18 09:30:38 UTC) #22
hayato
lgtm https://codereview.chromium.org/2496123002/diff/100001/third_party/WebKit/LayoutTests/shadow-dom/shadow-piercing-descendant-combinator.html File third_party/WebKit/LayoutTests/shadow-dom/shadow-piercing-descendant-combinator.html (right): https://codereview.chromium.org/2496123002/diff/100001/third_party/WebKit/LayoutTests/shadow-dom/shadow-piercing-descendant-combinator.html#newcode71 third_party/WebKit/LayoutTests/shadow-dom/shadow-piercing-descendant-combinator.html:71: Could we have one (or a few) tests ...
4 years, 1 month ago (2016-11-18 09:50:34 UTC) #25
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/2496123002/100001
4 years, 1 month ago (2016-11-20 15:47:02 UTC) #30
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 1 month ago (2016-11-20 18:17:54 UTC) #33
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/04a4852c265670de8100ceee3e20215f4a56091f Cr-Commit-Position: refs/heads/master@{#433457}
4 years, 1 month ago (2016-11-20 18:20:03 UTC) #35
kochi
4 years, 1 month ago (2016-11-22 10:20:50 UTC) #36
Message was sent while issue was closed.
Oops, I failed to publish my comment.

The follow-up CL is
https://codereview.chromium.org/2523673002

https://codereview.chromium.org/2496123002/diff/100001/third_party/WebKit/Lay...
File
third_party/WebKit/LayoutTests/shadow-dom/shadow-piercing-descendant-combinator.html
(right):

https://codereview.chromium.org/2496123002/diff/100001/third_party/WebKit/Lay...
third_party/WebKit/LayoutTests/shadow-dom/shadow-piercing-descendant-combinator.html:71:

On 2016/11/18 09:50:34, hayato wrote:
> Could we have one (or a few) tests for a selector which has more than one
'>>>'?

SGTM.  I'll add another test in a separate CL.

Powered by Google App Engine
This is Rietveld 408576698