WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
29520
Calling document.close() on an iframe scrolls the page if the hash is empty
https://bugs.webkit.org/show_bug.cgi?id=29520
Summary
Calling document.close() on an iframe scrolls the page if the hash is empty
taku
Reported
2009-09-19 05:43:33 PDT
When URL has "#", below javascript code occurs scrolling window to the iframe position. var hoge = document.getElementById("hoge"); // hoge is a iframe object var doc = hoge.contentDocument; doc.open(); doc.close(); Sample URL is here.
http://t.github.com/webkit_iframe_test/
#
Attachments
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2012-04-30 11:08:04 PDT
***
Bug 45935
has been marked as a duplicate of this bug. ***
Florian Haider
Comment 2
2013-03-27 03:02:35 PDT
This bug is still an issue in current webkit browsers! Any news on that?
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