WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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
Loading
http://philosophically.com/why-were-pivoting-from-mobile-first-to-web-first
on TOT often shows big blank areas.
Attachments
Patch
(11.65 KB, patch)
2012-11-30 14:16 PST
,
Simon Fraser (smfr)
thorton
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Simon Fraser (smfr)
Comment 1
2012-11-30 14:04:40 PST
<
rdar://problem/12763281
>
Simon Fraser (smfr)
Comment 2
2012-11-30 14:16:18 PST
Created
attachment 177024
[details]
Patch
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
http://trac.webkit.org/changeset/136277
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug