WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
UNCONFIRMED
15819
iframe: link to anchor scrolls main window
https://bugs.webkit.org/show_bug.cgi?id=15819
Summary
iframe: link to anchor scrolls main window
Nikolas Bertheau
Reported
2007-11-03 14:55:39 PDT
Hitting an internal anchor link in an iframe shouldn't scroll the main window unless this is necessary in order to make the anchor visible.
Attachments
A simple page with a small iframe
(643 bytes, text/html)
2007-11-03 14:59 PDT
,
Nikolas Bertheau
no flags
Details
A simple page with a long iframe
(497 bytes, text/html)
2007-11-03 15:13 PDT
,
Nikolas Bertheau
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Nikolas Bertheau
Comment 1
2007-11-03 14:59:57 PDT
Created
attachment 17023
[details]
A simple page with a small iframe Hitting an internal link from the content menu shouldn't scroll the main window since the iframe is completely visible (as long as your main window is of reasonable size).
Nikolas Bertheau
Comment 2
2007-11-03 15:13:05 PDT
Created
attachment 17024
[details]
A simple page with a long iframe Hitting one of the lower links from the content menu - e.g. "Weblinks" - requires the main window to scroll to the lower edge of the iframe in order to make its lower region completely visible. However, there is no need for the main window to scroll below the lower edge of the iframe, as it does at the moment. (Hitting one of the upper links from the content menu - e.g. "Anker auf Seeschiffen" - scrolls the main window in such a way that the upper edge of the iframe coincides with the upper edge of the main window in order to make visible as much content as possible. This is the expected behaviour.)
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug