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

Issue 313303002: Change shadow style's scope from Shadow Host to Shadow Root (Closed)

Created:
6 years, 6 months ago by kochi
Modified:
6 years, 6 months ago
Reviewers:
esprehn, tasak, dglazkov
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, dglazkov+blink, ed+blinkwatch_opera.com, hayato, rwlbuis, rune+blink
Visibility:
Public.

Description

Change shadow style's scope from Shadow Host to Shadow Root No visible change, test expectation change is expected. Scope of styles in shadow tree used to be its shadow host for ease of checking the style against :host etc. This caused code complexity for checking against boundary breaking CSS selector rules (e.g. ::content, /deep/). Changing the scope to its shadow root will simplify some condition checks. This is a step towards fixing issue 355674. BUG=355674 TEST=pass all layout tests Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=176304

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : rebase #

Patch Set 4 : Fix merge failure #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -39 lines) Patch
M Source/core/css/ElementRuleCollector.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/SelectorChecker.h View 1 2 chunks +3 lines, -7 lines 0 comments Download
M Source/core/css/SelectorChecker.cpp View 1 2 8 chunks +20 lines, -20 lines 0 comments Download
M Source/core/css/TreeBoundaryCrossingRules.cpp View 1 2 3 1 chunk +3 lines, -6 lines 0 comments Download
M Source/core/css/resolver/ScopedStyleResolver.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/css/resolver/ScopedStyleResolver.cpp View 1 2 1 chunk +2 lines, -4 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
kochi
Hi Takashi, Although this could be improved (the code can be simplified) more, this is ...
6 years, 6 months ago (2014-06-06 06:21:01 UTC) #1
tasak
On 2014/06/06 06:21:01, Takayoshi Kochi wrote: > Hi Takashi, > > Although this could be ...
6 years, 6 months ago (2014-06-06 06:35:12 UTC) #2
kochi
Hi Takashi, No change since the last change, but as <style scoped> removal landed and ...
6 years, 6 months ago (2014-06-12 07:17:14 UTC) #3
kochi
On 2014/06/12 07:17:14, Takayoshi Kochi wrote: > Hi Takashi, > > No change since the ...
6 years, 6 months ago (2014-06-16 09:25:12 UTC) #4
dglazkov
lgtm
6 years, 6 months ago (2014-06-16 15:25:08 UTC) #5
kochi
The CQ bit was checked by kochi@chromium.org
6 years, 6 months ago (2014-06-17 02:44:07 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kochi@chromium.org/313303002/20001
6 years, 6 months ago (2014-06-17 02:44:47 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-17 02:44:53 UTC) #8
commit-bot: I haz the power
Failed to apply patch for Source/core/css/TreeBoundaryCrossingRules.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 6 months ago (2014-06-17 02:44:54 UTC) #9
kochi
The CQ bit was checked by kochi@chromium.org
6 years, 6 months ago (2014-06-17 03:21:27 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kochi@chromium.org/313303002/40001
6 years, 6 months ago (2014-06-17 03:22:18 UTC) #11
kochi
The CQ bit was unchecked by kochi@chromium.org
6 years, 6 months ago (2014-06-17 04:59:10 UTC) #12
kochi
The CQ bit was checked by kochi@chromium.org
6 years, 6 months ago (2014-06-17 08:43:48 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kochi@chromium.org/313303002/60001
6 years, 6 months ago (2014-06-17 08:44:54 UTC) #14
commit-bot: I haz the power
6 years, 6 months ago (2014-06-17 10:28:54 UTC) #15
Message was sent while issue was closed.
Change committed as 176304

Powered by Google App Engine
This is Rietveld 408576698