RESOLVED WORKSFORME57214
REGRESSION: Navigating to a named anchor causes content to shift off page
https://bugs.webkit.org/show_bug.cgi?id=57214
Summary REGRESSION: Navigating to a named anchor causes content to shift off page
komoroske
Reported 2011-03-28 01:22:50 PDT
Originally reported by a user in this forum post: http://www.google.com/support/forum/p/Chrome/thread?fid=6d78452432a4c4d700049f7d4e5a7a92&hl=en Navigating to the page with the fragment identifier of #commentsList in Chrome (12.0.712.0 dev) causes the content in the main content div to shift up by a couple thousand pixels, cutting off the content at top and leaving empty white space on the page. Visiting the same URL without the fragment identifier leads to the page rendering as intended. Visiting the URL with a fragment identifier that does not refer to any page content leads to the page rendering correctly. Visiting the URL (even with the commentsList fragment identifier) in Safari (tested in version Version 5.0.4 (6533.20.27)) leads to the page rendering as intended.
Attachments
Reduced Test Case (941 bytes, text/html)
2011-04-05 15:07 PDT, Shaun Lewis
no flags
Eric Seidel (no email)
Comment 1 2011-03-28 05:45:38 PDT
Do we know if this is a regression? Safari 5 is a very old WebKit at this point.
Alexey Proskuryakov
Comment 2 2011-03-28 10:52:37 PDT
Confirmed as a regression between Safari/WebKit 5.0.4 and r81673.
Alexey Proskuryakov
Comment 3 2011-03-28 10:52:50 PDT
Shaun Lewis
Comment 4 2011-04-05 15:07:41 PDT
Created attachment 88316 [details] Reduced Test Case Created a reduced test case Bug is dependent on the amount of line break elements (br) above floated content inside a parent with an overflow property set to "hidden" If there are multiple elements like this within a document, only the first one is affected.
komoroske
Comment 5 2011-05-04 15:54:49 PDT
I just checked in on this bug in Chrome Mac 12.0.742.16 dev and WebKit Nightly 85595 and was unable to reproduce the problem. Perhaps another change elsewhere fixed it?
Alexey Proskuryakov
Comment 6 2011-07-05 11:41:29 PDT
That matches testing performed by us. Thanks for following up!
Note You need to log in before you can comment on or make changes to this bug.