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

Issue 339573005: Wrong pending sheets test causing FOUC. (Closed)

Created:
6 years, 6 months ago by rune
Modified:
6 years, 6 months ago
Reviewers:
esprehn, ojan
CC:
blink-reviews, blink-reviews-dom_chromium.org, dglazkov+blink, eae+blinkwatch, rwlbuis, sof
Project:
blink
Visibility:
Public.

Description

Wrong pending sheets test causing FOUC. In r176050, moving the full view repaint from StyleEngine to Document, the check changed from !hasPendingSheets() to haveStylesheetsLoaded(). The difference is that m_ignorePendingStylesheets affected the result of the check which causes a FOUC in named BUG. BUG=384969 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=176367

Patch Set 1 #

Patch Set 2 : Added test #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -1 line) Patch
A LayoutTests/http/tests/fouc/scroll-left-while-loading.html View 1 1 chunk +20 lines, -0 lines 1 comment Download
A LayoutTests/http/tests/fouc/scroll-left-while-loading-expected.txt View 1 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/dom/Document.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/dom/Document.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/testing/Internals.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/testing/Internals.cpp View 1 1 chunk +10 lines, -0 lines 0 comments Download
M Source/core/testing/Internals.idl View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
rune
I'd like to try to write an automatic test for this since it's not caught ...
6 years, 6 months ago (2014-06-16 20:51:17 UTC) #1
esprehn
lgtm, I'd prefer a test, but you can land first with a FIXME about it.
6 years, 6 months ago (2014-06-16 21:04:39 UTC) #2
rune
PTAL. It was not possible to detect the forced repaint through invalidation rectangles, so I ...
6 years, 6 months ago (2014-06-17 11:21:26 UTC) #3
esprehn
I think you might technically want to keep doing setTimeout until querySelector("link") actually appears otherwise ...
6 years, 6 months ago (2014-06-17 23:16:56 UTC) #4
esprehn
The CQ bit was checked by esprehn@chromium.org
6 years, 6 months ago (2014-06-17 23:18:06 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rune@opera.com/339573005/20001
6 years, 6 months ago (2014-06-17 23:18:58 UTC) #6
commit-bot: I haz the power
6 years, 6 months ago (2014-06-18 00:55:28 UTC) #7
Message was sent while issue was closed.
Change committed as 176367

Powered by Google App Engine
This is Rietveld 408576698