[Webkit-unassigned] [Bug 45935] New: Calling document.close() on an iframe scrolls the page if the hash is empty

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 16 16:51:50 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=45935

           Summary: Calling document.close() on an iframe scrolls the page
                    if the hash is empty
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Frames
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: wdm at google.com


Created an attachment (id=67861)
 --> (https://bugs.webkit.org/attachment.cgi?id=67861)
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.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list