WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 29520
45935
Calling document.close() on an iframe scrolls the page if the hash is empty
https://bugs.webkit.org/show_bug.cgi?id=45935
Summary
Calling document.close() on an iframe scrolls the page if the hash is empty
Will Moffat
Reported
2010-09-16 16:51:50 PDT
Created
attachment 67861
[details]
Testcase for iframe scrolling * Open the attached testcase * click the 'with empty hash' link, the url will update to index.html# * click the 'doc.close()' button --> webkit will scroll to the iframe at the bottom of the page The scrolling only occurs when the url contains an empty hash. Neither Firefox nor IE scroll the page. I encountered this when I integrated the popular CodeMirror editor (which uses iframes) into our site.
Attachments
Testcase for iframe scrolling
(498 bytes, text/html)
2010-09-16 16:51 PDT
,
Will Moffat
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Alfonso Martínez de Lizarrondo
Comment 1
2012-04-29 06:43:50 PDT
This is a duplicate of #29520.
Alexey Proskuryakov
Comment 2
2012-04-30 11:08:04 PDT
Thank you! *** This bug has been marked as a duplicate of
bug 29520
***
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