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

Issue 2590793003: Don't update global ruleset when active style is dirty. (Closed)

Created:
4 years ago by rune
Modified:
4 years ago
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

Don't update global ruleset when active style is dirty. CSSGlobalRuleSet should always be collected as part of the active style update. RuleSets may have been cleared from StyleSheetContents as a result of media query changes for instance. For the given issue, we tried to limit to a global ruleset when lazy- loading fullscreen UA style, but as part of going fullscreen we had already cleared rule sets for stylesheets with media queries due to the media feature change. BUG=675439 Committed: https://crrev.com/0c3e8777424678b81c5306e832391050f65cb170 Cr-Commit-Position: refs/heads/master@{#439781}

Patch Set 1 #

Patch Set 2 : Tab -> spaces #

Total comments: 4

Patch Set 3 : Fixed review issues. #

Patch Set 4 : window.eventSender #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -3 lines) Patch
A third_party/WebKit/LayoutTests/fullscreen/full-screen-ruleset-crash.html View 1 2 3 1 chunk +18 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/StyleEngine.h View 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/StyleEngine.cpp View 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 17 (10 generated)
rune
4 years ago (2016-12-20 10:42:04 UTC) #7
mstensho (USE GERRIT)
https://codereview.chromium.org/2590793003/diff/20001/third_party/WebKit/LayoutTests/fullscreen/full-screen-ruleset-crash.html File third_party/WebKit/LayoutTests/fullscreen/full-screen-ruleset-crash.html (right): https://codereview.chromium.org/2590793003/diff/20001/third_party/WebKit/LayoutTests/fullscreen/full-screen-ruleset-crash.html#newcode7 third_party/WebKit/LayoutTests/fullscreen/full-screen-ruleset-crash.html:7: <div id="fullscreen" onclick="this.requestFullscreen()"> Don't need "this.", I think. https://codereview.chromium.org/2590793003/diff/20001/third_party/WebKit/LayoutTests/fullscreen/full-screen-ruleset-crash.html#newcode12 ...
4 years ago (2016-12-20 10:46:33 UTC) #8
rune
https://codereview.chromium.org/2590793003/diff/20001/third_party/WebKit/LayoutTests/fullscreen/full-screen-ruleset-crash.html File third_party/WebKit/LayoutTests/fullscreen/full-screen-ruleset-crash.html (right): https://codereview.chromium.org/2590793003/diff/20001/third_party/WebKit/LayoutTests/fullscreen/full-screen-ruleset-crash.html#newcode7 third_party/WebKit/LayoutTests/fullscreen/full-screen-ruleset-crash.html:7: <div id="fullscreen" onclick="this.requestFullscreen()"> On 2016/12/20 10:46:33, mstensho wrote: > ...
4 years ago (2016-12-20 10:55:41 UTC) #9
mstensho (USE GERRIT)
lgtm
4 years ago (2016-12-20 11:41:30 UTC) #10
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/2590793003/60001
4 years ago (2016-12-20 11:41:57 UTC) #12
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years ago (2016-12-20 13:16:40 UTC) #15
commit-bot: I haz the power
4 years ago (2016-12-20 13:19:01 UTC) #17
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/0c3e8777424678b81c5306e832391050f65cb170
Cr-Commit-Position: refs/heads/master@{#439781}

Powered by Google App Engine
This is Rietveld 408576698