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

Issue 199373003: Use LocalStyleChange for classes in rightmost compound selector. (Closed)

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

Description

Use LocalStyleChange for classes in rightmost compound selector. If we resort to not using invalidation sets, we can still use LocalStyleChange instead of SubtreeStyleChange for classes in the rightmost compound selector if the invalidation set approach was not dropped due to a feature in the rightmost compound selector. For classes in other compound selectors, still use SubtreeStyleChange. Examples: ".a + .b" -> LocalStyleChange for "b", SubtreeStyleChange for "a" ".a .b::first-letter" -> SubtreeStyleChange for both "a" and "b". R=esprehn@chromium.org,chrishtr@chromium.org BUG=335247 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169255

Patch Set 1 #

Total comments: 2

Patch Set 2 : Changed naming of InvalidationSetModes. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+106 lines, -31 lines) Patch
A LayoutTests/fast/css/invalidation/no-invalidation-set-local-style.html View 1 chunk +57 lines, -0 lines 0 comments Download
A LayoutTests/fast/css/invalidation/no-invalidation-set-local-style-expected.txt View 1 chunk +15 lines, -0 lines 0 comments Download
M Source/core/css/RuleFeature.h View 1 1 chunk +9 lines, -6 lines 0 comments Download
M Source/core/css/RuleFeature.cpp View 1 9 chunks +25 lines, -25 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
rune
6 years, 9 months ago (2014-03-13 23:11:43 UTC) #1
esprehn
lgtm, but the naming is kind of weird. https://codereview.chromium.org/199373003/diff/1/Source/core/css/RuleFeature.cpp File Source/core/css/RuleFeature.cpp (right): https://codereview.chromium.org/199373003/diff/1/Source/core/css/RuleFeature.cpp#newcode227 Source/core/css/RuleFeature.cpp:227: } ...
6 years, 9 months ago (2014-03-13 23:28:13 UTC) #2
rune
https://codereview.chromium.org/199373003/diff/1/Source/core/css/RuleFeature.cpp File Source/core/css/RuleFeature.cpp (right): https://codereview.chromium.org/199373003/diff/1/Source/core/css/RuleFeature.cpp#newcode227 Source/core/css/RuleFeature.cpp:227: } else if (current->m_match == CSSSelector::Class && mode != ...
6 years, 9 months ago (2014-03-14 13:01:19 UTC) #3
rune
The CQ bit was checked by rune@opera.com
6 years, 9 months ago (2014-03-14 13:01:27 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rune@opera.com/199373003/20001
6 years, 9 months ago (2014-03-14 13:01:30 UTC) #5
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-14 13:45:38 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on win_blink_rel
6 years, 9 months ago (2014-03-14 13:45:39 UTC) #7
rune
The CQ bit was checked by rune@opera.com
6 years, 9 months ago (2014-03-14 13:55:09 UTC) #8
rune
The CQ bit was unchecked by rune@opera.com
6 years, 9 months ago (2014-03-14 13:55:10 UTC) #9
rune
The CQ bit was checked by rune@opera.com
6 years, 9 months ago (2014-03-14 13:55:11 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rune@opera.com/199373003/20001
6 years, 9 months ago (2014-03-14 13:55:16 UTC) #11
commit-bot: I haz the power
6 years, 9 months ago (2014-03-14 14:38:50 UTC) #12
Message was sent while issue was closed.
Change committed as 169255

Powered by Google App Engine
This is Rietveld 408576698