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

Issue 2823873002: Fixed the paint supression to track only render-blocking stylesheets

Created:
3 years, 8 months ago by Pat Meenan
Modified:
3 years, 7 months ago
Reviewers:
esprehn, rune
CC:
blink-reviews, blink-reviews-dom_chromium.org, chromium-reviews, dglazkov+blink, eae+blinkwatch, rwlbuis, sof
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fixed the paint supression to track only render-blocking stylesheets BUG=707747

Patch Set 1 #

Patch Set 2 : Added sim tests #

Total comments: 4

Patch Set 3 : Fixed stylesheet check #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -5 lines) Patch
M third_party/WebKit/Source/core/dom/Document.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Document.cpp View 1 2 4 chunks +9 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/web/tests/WebMeaningfulLayoutsTest.cpp View 1 1 chunk +38 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (11 generated)
Pat Meenan
esprehn@ could you PTAL? This should fix the cases where paints were still being (incorrectly) ...
3 years, 8 months ago (2017-04-17 17:07:01 UTC) #7
esprehn
Can you write a SimTest?
3 years, 8 months ago (2017-04-17 20:24:23 UTC) #8
esprehn
What's the status here? :)
3 years, 7 months ago (2017-04-28 21:42:52 UTC) #9
Pat Meenan
Sorry about the delay. Added a sim test to the low-level document logic to make ...
3 years, 7 months ago (2017-05-08 17:07:34 UTC) #12
Pat Meenan
rune@, could you PTAL? This fixes a case where the paint suppression logic incorrectly blocks ...
3 years, 7 months ago (2017-05-11 15:12:48 UTC) #16
rune
lgtm https://codereview.chromium.org/2823873002/diff/20001/third_party/WebKit/Source/core/dom/Document.cpp File third_party/WebKit/Source/core/dom/Document.cpp (right): https://codereview.chromium.org/2823873002/diff/20001/third_party/WebKit/Source/core/dom/Document.cpp#newcode2293 third_party/WebKit/Source/core/dom/Document.cpp:2293: !GetStyleEngine().HasPendingRenderBlockingSheets()) { Not sure if I fully wrapped ...
3 years, 7 months ago (2017-05-11 19:40:53 UTC) #17
Pat Meenan
https://codereview.chromium.org/2823873002/diff/20001/third_party/WebKit/Source/core/dom/Document.cpp File third_party/WebKit/Source/core/dom/Document.cpp (right): https://codereview.chromium.org/2823873002/diff/20001/third_party/WebKit/Source/core/dom/Document.cpp#newcode2293 third_party/WebKit/Source/core/dom/Document.cpp:2293: !GetStyleEngine().HasPendingRenderBlockingSheets()) { On 2017/05/11 19:40:53, rune wrote: > Not ...
3 years, 7 months ago (2017-05-11 20:25:29 UTC) #18
Pat Meenan
nm, found a cleaner way. Adding a HasPendingRenderBlockingSheets() method to the document that calls the ...
3 years, 7 months ago (2017-05-11 20:34:28 UTC) #19
Pat Meenan
OK, changed so it will work correctly for both states of the flag. The flag ...
3 years, 7 months ago (2017-05-11 20:49:03 UTC) #20
rune
https://codereview.chromium.org/2823873002/diff/20001/third_party/WebKit/Source/core/dom/Document.cpp File third_party/WebKit/Source/core/dom/Document.cpp (right): https://codereview.chromium.org/2823873002/diff/20001/third_party/WebKit/Source/core/dom/Document.cpp#newcode2293 third_party/WebKit/Source/core/dom/Document.cpp:2293: !GetStyleEngine().HasPendingRenderBlockingSheets()) { On 2017/05/11 20:25:29, Pat Meenan wrote: > ...
3 years, 7 months ago (2017-05-11 22:06:10 UTC) #21
rune
On 2017/05/11 22:06:10, rune wrote: > Looking at the existing code, there seems to be ...
3 years, 7 months ago (2017-05-11 22:13:31 UTC) #22
Pat Meenan
I'll do some more digging to see if I can actually figure out how the ...
3 years, 7 months ago (2017-05-12 13:24:08 UTC) #23
rune
3 years, 7 months ago (2017-05-12 13:41:40 UTC) #24
On 2017/05/12 13:24:08, Pat Meenan wrote:

> I was largely trying to carry-over the existing behavior and just make it
handle
> the in-body stylesheet case correctly, but yes, now that you mention it, it is
> probably buggy with respect to imports.

OK. Just land PS3 and we can iterate on this.

Powered by Google App Engine
This is Rietveld 408576698