| Index: sky/engine/core/rendering/RenderBlock.cpp
|
| diff --git a/sky/engine/core/rendering/RenderBlock.cpp b/sky/engine/core/rendering/RenderBlock.cpp
|
| index c9fac7381efcf99232c086f01c2cbcf0d1a80674..974d3a04ce8f8d4f24a2de860669ffcfc0154bfe 100644
|
| --- a/sky/engine/core/rendering/RenderBlock.cpp
|
| +++ b/sky/engine/core/rendering/RenderBlock.cpp
|
| @@ -658,13 +658,8 @@ void RenderBlock::paintObject(PaintInfo& paintInfo, const LayoutPoint& paintOffs
|
| if (paintPhase == PaintPhaseBlockBackground)
|
| return;
|
|
|
| - if (paintPhase != PaintPhaseSelfOutline) {
|
| - // Avoid painting descendants of the root element when stylesheets haven't loaded. This eliminates FOUC.
|
| - // It's ok not to draw, because later on, when all the stylesheets do load, styleResolverChanged() on the Document
|
| - // will do a full paint invalidation.
|
| - if (!document().didLayoutWithPendingStylesheets() || isRenderView())
|
| - paintContents(paintInfo, scrolledOffset);
|
| - }
|
| + if (paintPhase != PaintPhaseSelfOutline)
|
| + paintContents(paintInfo, scrolledOffset);
|
|
|
| paintSelection(paintInfo, scrolledOffset); // Fill in gaps in selection on lines and between blocks.
|
|
|
|
|