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

Issue 203303002: SelectorChecker should update scope and behaviorAtBoundary for /content/ in SharingRules mode (Closed)

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

Description

SelectorChecker should update scope and behaviorAtBoundary for /content/ in SharingRules mode. When ShardStyleFinder checks whether a given element can reuse other element's style or not, it uses SelectorChecker with SharingRules mode. However, RuleFeatureSet used in SharingRules mode doesn't have any information about styles' scope, i.e. SelectorCheckingContext's scope. So Blink should treat as if scope and behavior are set correctly. BUG=353428 TEST=fast/dom/shadow/style-sharing-with-content-and-host.html Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=170176

Patch Set 1 #

Patch Set 2 : Update for :not and :ancestor #

Patch Set 3 : Fixed regression caused by reverting /content/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -2 lines) Patch
A LayoutTests/fast/dom/shadow/style-sharing-with-content-and-host.html View 1 2 1 chunk +18 lines, -0 lines 0 comments Download
A LayoutTests/fast/dom/shadow/style-sharing-with-content-and-host-expected.html View 1 chunk +12 lines, -0 lines 0 comments Download
M Source/core/css/SelectorChecker.cpp View 1 5 chunks +13 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
tasak
6 years, 9 months ago (2014-03-18 09:52:14 UTC) #1
tasak
Would you review this CL?
6 years, 9 months ago (2014-03-19 08:05:52 UTC) #2
esprehn
Can you explain this in more detail? I feel like the behaviorAtBoundary values are not ...
6 years, 9 months ago (2014-03-19 08:12:07 UTC) #3
tasak
On 2014/03/19 08:12:07, esprehn wrote: > Can you explain this in more detail? I feel ...
6 years, 9 months ago (2014-03-25 10:56:25 UTC) #4
esprehn
On 2014/03/25 at 10:56:25, tasak wrote: > On 2014/03/19 08:12:07, esprehn wrote: > > Can ...
6 years, 8 months ago (2014-03-27 13:22:02 UTC) #5
esprehn
The CQ bit was checked by esprehn@chromium.org
6 years, 8 months ago (2014-03-27 13:22:09 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tasak@google.com/203303002/40001
6 years, 8 months ago (2014-03-27 13:22:11 UTC) #7
commit-bot: I haz the power
6 years, 8 months ago (2014-03-27 13:31:35 UTC) #8
Message was sent while issue was closed.
Change committed as 170176

Powered by Google App Engine
This is Rietveld 408576698