[Webkit-unassigned] [Bug 148626] New: Navigating to a fragment in an iframe scrolls the main page

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Aug 30 17:45:52 PDT 2015


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

            Bug ID: 148626
           Summary: Navigating to a fragment in an iframe scrolls the main
                    page
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Macintosh
                OS: Mac OS X 10.10
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Frames
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: webkit at chrisrebert.com

Created attachment 260259
  --> https://bugs.webkit.org/attachment.cgi?id=260259&action=review
WebKit Nightly screenshot of the bug. Look at the scrollbar position.

Version: r186963 WebKit Nightly
Corresponding fixed Chrome bug: https://code.google.com/p/chromium/issues/detail?id=462809

Steps to reproduce the problem:
1. Open http://plnkr.co/edit/bKBag3Tfs5QYvwywMk24?p=preview
2. Click the first "Click and window will scroll down" button in the pane on the right half of the window.
3. The contents of the iframe are scrolled to the bottom where the <p id="target"> is.

What is the expected behavior?
The scroll position of the main page should not change. It should stay at its original position at the top of the page.
(Note the position of the scrollbar in the attached Chrome screenshot.)

What went wrong?
The scroll position of the main page moves downward a bit.
Note the position of the scrollbar in the attached WebKit Nightly screenshot.


By comparison, in both OS X Chrome and OS X Firefox, the scroll position of the main page doesn't change.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150831/b02aa15b/attachment-0001.html>


More information about the webkit-unassigned mailing list