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

Issue 2333693002: Implemented scoped invalidation for added/removed RuleSets. (Closed)

Created:
4 years, 3 months ago by rune
Modified:
4 years, 3 months ago
Reviewers:
Eric Willigers
CC:
chromium-reviews, blink-reviews-style_chromium.org, sof, eae+blinkwatch, blink-reviews-dom_chromium.org, dglazkov+blink, blink-reviews, rwlbuis
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implemented scoped invalidation for added/removed RuleSets. Async stylesheet update will schedule invalidation sets based on the RuleFeatureSets for added/removed stylesheets. Implement the functionality in StyleEngine for scheduling invalidations in the stylesheet's TreeScope, including host and slotted elements if applicable. R=ericwilligers@chromium.org BUG=567021 Committed: https://crrev.com/7bff558df449b9b0542b4b617331518f9ae7f36e Cr-Commit-Position: refs/heads/master@{#420192}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Reworked and rebased #

Patch Set 3 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+227 lines, -0 lines) Patch
M third_party/WebKit/Source/core/dom/StyleEngine.h View 1 2 chunks +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/StyleEngine.cpp View 1 2 chunks +73 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/StyleEngineTest.cpp View 1 4 chunks +151 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (14 generated)
Eric Willigers
https://codereview.chromium.org/2333693002/diff/1/third_party/WebKit/Source/core/dom/StyleEngine.cpp File third_party/WebKit/Source/core/dom/StyleEngine.cpp (right): https://codereview.chromium.org/2333693002/diff/1/third_party/WebKit/Source/core/dom/StyleEngine.cpp#newcode791 third_party/WebKit/Source/core/dom/StyleEngine.cpp:791: element.setNeedsStyleRecalc(LocalStyleChange, StyleChangeReasonForTracing::create(StyleChangeReason::StyleSheetChange)); element.needsStyleRecalc() becomes true, so typeSelectorMatch is redundant.
4 years, 3 months ago (2016-09-13 01:22:04 UTC) #5
rune
I need to revisit this. Invalidation set features for boundary crossing rules are not currently ...
4 years, 3 months ago (2016-09-13 13:13:53 UTC) #6
rune
Ready for review.
4 years, 3 months ago (2016-09-18 20:22:13 UTC) #11
Eric Willigers
lgtm
4 years, 3 months ago (2016-09-21 19:50:29 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/2333693002/30001
4 years, 3 months ago (2016-09-21 20:11:07 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:30001)
4 years, 3 months ago (2016-09-21 23:17:05 UTC) #19
commit-bot: I haz the power
4 years, 3 months ago (2016-09-21 23:19:12 UTC) #21
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/7bff558df449b9b0542b4b617331518f9ae7f36e
Cr-Commit-Position: refs/heads/master@{#420192}

Powered by Google App Engine
This is Rietveld 408576698