RESOLVED FIXED Bug 103773
Late-loading stylesheets can cause composited layers to be blank
https://bugs.webkit.org/show_bug.cgi?id=103773
Summary Late-loading stylesheets can cause composited layers to be blank
Simon Fraser (smfr)
Reported 2012-11-30 14:04:22 PST
Attachments
Patch (11.65 KB, patch)
2012-11-30 14:16 PST, Simon Fraser (smfr)
thorton: review+
Simon Fraser (smfr)
Comment 1 2012-11-30 14:04:40 PST
Simon Fraser (smfr)
Comment 2 2012-11-30 14:16:18 PST
Tim Horton
Comment 3 2012-11-30 14:26:12 PST
Comment on attachment 177024 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=177024&action=review > Source/WebCore/ChangeLog:9 > + is pending, which is done to avoid a FOUC. When the stylesheet finally loaded, Probably spell it out? > Source/WebCore/rendering/RenderLayerCompositor.h:148 > + // Repaint parts of all composited layers that intersect the given absolute rectangle (or the entire layer if the pointer is null). > + void repaintCompositedLayers(const IntRect* = 0); This mechanism makes for some slightly unusual looking code elsewhere... > Source/WebCore/rendering/RenderView.h:-84 > - virtual void repaintViewRectangle(const LayoutRect&, bool immediate = false) const; > + void repaintViewRectangle(const LayoutRect&, bool immediate = false) const; > // Repaint the view, and all composited layers that intersect the given absolute rectangle. > // FIXME: ideally we'd never have to do this, if all repaints are container-relative. > - virtual void repaintRectangleInViewAndCompositedLayers(const LayoutRect&, bool immediate = false); These weren't virtual for a reason?
Simon Fraser (smfr)
Comment 4 2012-11-30 14:49:59 PST
Note You need to log in before you can comment on or make changes to this bug.