Bug 44772

Summary: browser gets vertical offset BEFORE the image height is calculated
Product: WebKit Reporter: Floris Fiedeldij Dop <mrfloris>
Component: WebKit Misc.Assignee: Nobody <webkit-unassigned>
Status: UNCONFIRMED    
Severity: Minor CC: andy2013, mrfloris
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows Vista   
URL: http://xenfans.com

Floris Fiedeldij Dop
Reported 2010-08-27 09:31:50 PDT
Loading a page to an anchor point while there are images on the page goes wrong in webkit, unlike in mozilla, where it jumps to the wrong spot. The browser gets the vertical offset before the image height is calculated, leading to jumping to the wrong amount of pixels on the screen. Confirmed on both vista/chrome5 and osx/safari5 webkit 533.4 and up.
Attachments
Andy Bajka
Comment 1 2013-03-10 11:58:27 PDT
This is a huge problem for forum users because image width and height specifications are not specified in the html <img> tag. Below is an example, using Safari on my iMac (Version 6.0.2 (8536.26.17) click on the link below, it should scroll to post #10 but does not. [url]http://www.southbayriders.com/forums/showthread.php?t=10730&p=235955#post235955[/url] If I disable images in Safari the link will scroll properly to post #10.
Note You need to log in before you can comment on or make changes to this bug.