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
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Andy Bajka
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.