[Webkit-unassigned] [Bug 204828] New: Flash of white when loading QQ

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 3 17:30:20 PST 2019


https://bugs.webkit.org/show_bug.cgi?id=204828

            Bug ID: 204828
           Summary: Flash of white when loading QQ
           Product: WebKit
           Version: WebKit Nightly 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 384772

  --> https://bugs.webkit.org/attachment.cgi?id=384772&action=review

qq page loading transition

When I visit qq.com, I see a flash of white before the actual content fills in. See the 3 second mark in the attached video, which I took on a recent trunk release build of Safari.

This may be because we complete the page transition (which unfreezes the layer tree) on the first layout rather than the first visually-non-empty layout. There's a comment about this in WebFrameLoaderClient::dispatchDidReachLayoutMilestone:

    if (milestones & DidFirstLayout) {
        // ...

    #if PLATFORM(MAC)
        // FIXME: Do this on DidFirstVisuallyNonEmptyLayout when Mac Safari is able to handle it (<rdar://problem/17580021>)
        if (m_frame->isMainFrame() && !m_didCompletePageTransition && !webPage->corePage()->settings().suppressesIncrementalRendering()) {
            RELEASE_LOG(Layout, "%p - WebFrameLoaderClient::dispatchDidReachLayoutMilestone: dispatching didCompletePageTransition, page = %p", this, webPage);
            webPage->didCompletePageTransition();
            m_didCompletePageTransition = true;
        }
    #endif

-- 
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/20191204/48980871/attachment-0001.htm>


More information about the webkit-unassigned mailing list