Bug 30258 - Background color of <body> remains unstyled (white) in space outside of contained elements after some page loads
Summary: Background color of <body> remains unstyled (white) in space outside of conta...
Status: RESOLVED DUPLICATE of bug 34913
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac (Intel) OS X 10.6
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-09 12:53 PDT by James MacAulay
Modified: 2010-04-26 13:23 PDT (History)
1 user (show)

See Also:


Attachments
Pointing out how the structure of the page relates to the bug behaviour (204.25 KB, image/png)
2009-10-09 12:53 PDT, James MacAulay
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description James MacAulay 2009-10-09 12:53:15 PDT
Created attachment 40961 [details]
Pointing out how the structure of the page relates to the bug behaviour

Sometimes when a page is refreshed, the background color of the page remains white in the area outside the contained elements. This always coincides with the whole page flashing white for a fraction of a second before any content loads.

I have reproduced this behaviour in these products, all running on OS X 10.6:

* Safari Version 4.0.3 (6531.9)
* Webkit/Safari nightly build Version 4.0.3 (6531.9, r49283)
* Chromium 4.0.222.3 (28536)

Co-workers of mine running OS X 10.5 with Safari version 5531.9 have _not_ been able to reproduce this problem.

Here is a video demonstrating the bug:

http://www.youtube.com/watch?v=Tcs2dspLVsU

I tried re-creating the issue from a saved Safari "Web Archive" of the page, but it never occurred. It seems to happen much more frequently when page loading is slowed down for whatever reason (e.g. when I load the page from the app running in development mode on my own computer, it is noticeably slower and also manifests the bug much more frequently).

As I have illustrated in the attached screenshot, the area left unstyled by this bug coincides with the area of the page not covered by any child elements of the <body> tag.

My hunch is that this has to do with the way Webkit loads scripts and stylesheets in parallel:

http://webkit.org/blog/66/the-fouc-problem/
Comment 1 James MacAulay 2009-11-04 15:28:24 PST
I have been noticing this more often recently on various sites, and it's a big distraction when it happens. Can anyone else confirm this bug?
Comment 2 jimmy 2010-04-08 17:56:35 PDT
I've noticed this bug for a long time as well. It's a duplicate of https://bugs.webkit.org/show_bug.cgi?id=28607
Comment 3 Alexey Proskuryakov 2010-04-26 13:23:10 PDT
Marking as a duplicate of newer bug that has more data in it.

*** This bug has been marked as a duplicate of bug 34913 ***