Summary: | REGRESSION: Overlapping text when viewing Yahoo! Mail message (due to use of naturalHeight/Width) | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | David Kilzer (:ddkilzer) <ddkilzer> | ||||||
Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED DUPLICATE | ||||||||
Severity: | Normal | CC: | andersca, mitz | ||||||
Priority: | P1 | Keywords: | Regression | ||||||
Version: | 523.x (Safari 3) | ||||||||
Hardware: | Mac | ||||||||
OS: | OS X 10.4 | ||||||||
Attachments: |
|
Description
David Kilzer (:ddkilzer)
2007-04-18 09:57:12 PDT
Created attachment 14075 [details]
Unreduced test case
Unreduced test case.
Created attachment 14076 [details]
Screenshot
Screenshot of issue.
The imgsDone function on the page, intended for use with Firefox, always returns 'true' in WebKit since naturalWidth and naturalHeight are not supported. As a result, the rmvScroll function proceeds to adjust the layout based on incorrect image dimensions. This goes unnoticed in Safari 2.0.4 because of a JavaScript error (probably due to incomplete CSS object model support), but in TOT rmvScroll completes successfully, which results in the incorrect layout. If bug 13333 is not addressed, Yahoo will need to use a different technique to tell if images have loaded. |