Bug 44772 - browser gets vertical offset BEFORE the image height is calculated
Summary: browser gets vertical offset BEFORE the image height is calculated
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows Vista
: P2 Minor
Assignee: Nobody
URL: http://xenfans.com
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-27 09:31 PDT by Floris Fiedeldij Dop
Modified: 2013-03-10 11:58 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Floris Fiedeldij Dop 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.
Comment 1 Andy Bajka 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.