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

Issue 2789363002: Styling slot fallback content with ::slotted()

Created:
3 years, 8 months ago by kochi
Modified:
3 years, 8 months ago
Reviewers:
hayato, rune
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, blink-reviews-html_chromium.org, blink-reviews-style_chromium.org, chromium-reviews, dglazkov+blink, rwlbuis
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Styling slot fallback content with ::slotted() ::slotted() in CSS selectors should match fallback contents and style them if the slot has no assigned nodes. This problem was originally raised at https://github.com/w3c/webcomponents/issues/631 and the conclusion was to apply style rules to slot fallback content where ::slotted() selector matches. BUG=703984

Patch Set 1 #

Patch Set 2 : Blink reformat #

Patch Set 3 : rebase #

Patch Set 4 : clean up #

Total comments: 3

Patch Set 5 : Fix nested fallback slot case. #

Patch Set 6 : Split test into smaller pieces. #

Patch Set 7 : rebase #

Messages

Total messages: 30 (23 generated)
kochi
PTAL
3 years, 8 months ago (2017-04-12 08:31:13 UTC) #16
hayato
https://codereview.chromium.org/2789363002/diff/80001/third_party/WebKit/Source/core/css/SelectorChecker.cpp File third_party/WebKit/Source/core/css/SelectorChecker.cpp (right): https://codereview.chromium.org/2789363002/diff/80001/third_party/WebKit/Source/core/css/SelectorChecker.cpp#newcode127 third_party/WebKit/Source/core/css/SelectorChecker.cpp:127: if (!slot) { Looks the dupe of code. It ...
3 years, 8 months ago (2017-04-13 05:50:40 UTC) #17
kochi
https://codereview.chromium.org/2789363002/diff/80001/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp File third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp (right): https://codereview.chromium.org/2789363002/diff/80001/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp#newcode277 third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp:277: } On 2017/04/13 05:50:40, hayato wrote: > I don't ...
3 years, 8 months ago (2017-04-14 02:15:13 UTC) #18
kochi
PTAL
3 years, 8 months ago (2017-04-14 07:04:52 UTC) #25
hayato
The CL is not correct. W have chatted offline. kochi@, Please see https://dom.spec.whatwg.org/#find-flattened-slotables carefully. You ...
3 years, 8 months ago (2017-04-14 08:06:04 UTC) #26
kochi
On 2017/04/14 08:06:04, hayato wrote: > The CL is not correct. W have chatted offline. ...
3 years, 8 months ago (2017-04-18 02:34:47 UTC) #29
rune
3 years, 8 months ago (2017-04-18 07:07:55 UTC) #30
You probably need to modify the style invalidation code as well.

Powered by Google App Engine
This is Rietveld 408576698