Bug 44529

Summary: beforeload listener causes rendering flash
Product: WebKit Reporter: Drew Thaler <drewthaler>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: UNCONFIRMED    
Severity: Normal CC: danbedford, hyatt, mitz
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac (Intel)   
OS: OS X 10.6   
URL: http://cbgb.com/
Attachments:
Description Flags
screenshots and extension none

Drew Thaler
Reported 2010-08-24 09:29:05 PDT
Created attachment 65283 [details] screenshots and extension A highly reproducible rendering flash occurs on http://cbgb.com/ whenever a Safari extension adds a 'beforeload' listener to the page. It doesn't matter what's in the listener; the problem can be reproduced with a trivial empty listener. Removing the listener eliminates the problem. The site is using jShowoff to rotate through different header images every 8 seconds or so. The initial load of the page is OK, but almost every time the header rotates after that, it will render incorrectly for a fraction of a second as it changes to the next image. The attached zip includes: - header-good.png = screenshot of correct rendering - header-bad.png = screenshot of incorrect rendering - beforeload.safariextension = source of Safari extension to reproduce the problem - beforeload.safariextz = packaged Safari extension to reproduce the problem
Attachments
screenshots and extension (2.12 MB, application/zip)
2010-08-24 09:29 PDT, Drew Thaler
no flags
Drew Thaler
Comment 1 2010-08-24 09:31:20 PDT
Sorry, I should've mentioned the versions. I've reproduced it on both Safari 5.0.1 and WebKit Nightly r65825.
Alexey Proskuryakov
Comment 2 2010-09-07 12:34:58 PDT
See also: bug 45225.
Note You need to log in before you can comment on or make changes to this bug.