[Webkit-unassigned] [Bug 207516] New: Flash of white can occur if JS forces an early layout
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Feb 10 16:08:43 PST 2020
https://bugs.webkit.org/show_bug.cgi?id=207516
Bug ID: 207516
Summary: Flash of white can occur if JS forces an early layout
Product: WebKit
Version: WebKit Local Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
Assignee: webkit-unassigned at lists.webkit.org
Reporter: nham at apple.com
CC: bfulgham at webkit.org, simon.fraser at apple.com,
zalan at apple.com
Created attachment 390306
--> https://bugs.webkit.org/attachment.cgi?id=390306&action=review
repro case
In https://bugs.webkit.org/show_bug.cgi?id=134833, we added in a hack to force a layer flush on first layout on Mac (rather than waiting for first non-empty layout as we do for all other platforms). This can cause a flash of white if the first layout creates an empty render tree, e.g. if JS forces an empty layout early on in the page. We also see this flash-of-white issue in several real-world webpages on our PLT test suite, e.g. NYT and FB.
We should probably revert this change. This fixes the issue in our PLT content and in the attached repro case (which can be run by executing something like `php -S localhost:8081` and then navigating to http://localhost:8081).
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200211/d40a0fa8/attachment-0001.htm>
More information about the webkit-unassigned
mailing list