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

Issue 2500923002: No forced active stylesheet recollect when pending sheets reach 0. (Closed)

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

Description

No forced active stylesheet recollect when pending sheets reach 0. We forced a FullStyleUpdate which causes an active stylesheet update for all tree scopes in the presence of placeholder style. What we need to do for placeholder style is to trigger a full style recalc. For instance, we don't need to update active stylesheets in shadow trees if the last blocking resource that finishes loading is a document scope stylesheet or import. BUG=567021 Committed: https://crrev.com/33002601a6ab8429f122c105b3d0179730a3384f Cr-Commit-Position: refs/heads/master@{#432630}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -2 lines) Patch
M third_party/WebKit/Source/core/dom/Document.cpp View 1 chunk +7 lines, -2 lines 2 comments Download

Messages

Total messages: 12 (7 generated)
rune
ptal I have not been able to come up with a way to test this ...
4 years, 1 month ago (2016-11-15 10:39:03 UTC) #6
meade_UTC10
lgtm https://codereview.chromium.org/2500923002/diff/1/third_party/WebKit/Source/core/dom/Document.cpp File third_party/WebKit/Source/core/dom/Document.cpp (left): https://codereview.chromium.org/2500923002/diff/1/third_party/WebKit/Source/core/dom/Document.cpp#oldcode3679 third_party/WebKit/Source/core/dom/Document.cpp:3679: void Document::styleResolverMayHaveChanged() { On 2016/11/15 10:39:03, rune wrote: ...
4 years, 1 month ago (2016-11-16 18:10:31 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/2500923002/1
4 years, 1 month ago (2016-11-16 18:29:24 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 1 month ago (2016-11-16 21:24:25 UTC) #10
commit-bot: I haz the power
4 years, 1 month ago (2016-11-16 21:39:34 UTC) #12
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/33002601a6ab8429f122c105b3d0179730a3384f
Cr-Commit-Position: refs/heads/master@{#432630}

Powered by Google App Engine
This is Rietveld 408576698