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

Issue 2258793003: Use LocalStyleChange for insertion point inheritance propagation. (Closed)

Created:
4 years, 4 months ago by rune
Modified:
4 years, 3 months ago
Reviewers:
sashab, kochi
CC:
blink-reviews, blink-reviews-dom_chromium.org, chromium-reviews, dglazkov+blink, eae+blinkwatch, rwlbuis, sof, webcomponents-bugzilla_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use LocalStyleChange for insertion point inheritance propagation. For shadow dom v0, we used a SubtreeStyleChange for propagating inherited style changes through insertion points to distributed nodes. LocalStyleChange should suffice. We already use LocalStyleChange in the HTMLSlotElement case. We still need to use SubtreeStyleChange where we have a SubtreeStyleChange/Force from further up the tree like: <host> <:shadow-root> <style>.a::content * { background: green }</style> <div id="a"> <content></content> </div> </:shadow-root> <div>Green when #a gets class a.</div> </host> R=kochi@chromium.org BUG=638869 Committed: https://crrev.com/dfe6cf582c76a362871d93821a25ee5af7037cc1 Cr-Commit-Position: refs/heads/master@{#414386}

Patch Set 1 #

Patch Set 2 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -2 lines) Patch
A third_party/WebKit/LayoutTests/fast/css/invalidation/inherit-through-insertion-point-v0.html View 1 chunk +25 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/shadow/InsertionPoint.cpp View 1 1 chunk +9 lines, -2 lines 0 comments Download

Messages

Total messages: 34 (16 generated)
rune
ptal
4 years, 4 months ago (2016-08-18 12:16:43 UTC) #3
rune
ping
4 years, 3 months ago (2016-08-23 09:34:43 UTC) #6
kochi
Sorry for the delay, I missed the original request - and thanks for pinging. LGTM.
4 years, 3 months ago (2016-08-24 01:40:57 UTC) #7
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/2258793003/1
4 years, 3 months ago (2016-08-24 06:13:54 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/283581)
4 years, 3 months ago (2016-08-24 06:16:33 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/2258793003/20001
4 years, 3 months ago (2016-08-24 08:19:35 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/279848)
4 years, 3 months ago (2016-08-24 11:23:45 UTC) #16
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/2258793003/20001
4 years, 3 months ago (2016-08-24 11:44:08 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/279950)
4 years, 3 months ago (2016-08-24 14:35:42 UTC) #20
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/2258793003/20001
4 years, 3 months ago (2016-08-24 18:33:15 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/280314)
4 years, 3 months ago (2016-08-24 21:57:39 UTC) #24
sashab
This is *awesome* rune. Btw I'd like your thoughts on the comparisons like "change > ...
4 years, 3 months ago (2016-08-25 02:49:48 UTC) #26
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/2258793003/20001
4 years, 3 months ago (2016-08-25 07:36:29 UTC) #28
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-08-25 10:56:36 UTC) #29
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/dfe6cf582c76a362871d93821a25ee5af7037cc1 Cr-Commit-Position: refs/heads/master@{#414386}
4 years, 3 months ago (2016-08-25 10:57:56 UTC) #31
rune
On 2016/08/25 02:49:48, sashab wrote: > This is *awesome* rune. Btw I'd like your thoughts ...
4 years, 3 months ago (2016-08-25 11:01:59 UTC) #32
sashab
Yeah that's np, was more looking for your input and hypothetical future changes , this ...
4 years, 3 months ago (2016-08-25 11:09:10 UTC) #33
sashab
4 years, 3 months ago (2016-08-25 11:09:11 UTC) #34
Message was sent while issue was closed.
Yeah that's np, was more looking for your input and hypothetical future
changes , this CL definitely lgtm :)

On Thu, Aug 25, 2016 at 9:01 PM, <rune@opera.com> wrote:

> On 2016/08/25 02:49:48, sashab wrote:
> > This is *awesome* rune. Btw I'd like your thoughts on the comparisons
> like
> > "change > Inherit" etc... Would be better self-documenting to have
> utility
> > functions that capture this, so when we update the enum its clearer
> where the
> > update affects?
> >
> > Hard to think of function names though.. Eg "changeRequiresPropagation"
> (change
> > >= independentinherit), "changeRequiresRecalcAndPropagation" (change >=
> > inherit), etc. Also in each function we could check equality on any of
> the
> > required values, not using < or >.
>
> I landed this since I already had an lgtm and the land was in progress. I
> can
> follow up with another CL.
>
>
> https://codereview.chromium.org/2258793003/
>

-- 
You received this message because you are subscribed to the Google Groups
"Chromium-reviews" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698