[Webkit-unassigned] [Bug 143100] New: Auto-scroll ignores CSS transformations on focus in iframes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 26 08:59:51 PDT 2015


            Bug ID: 143100
           Summary: Auto-scroll ignores CSS transformations on focus in
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Macintosh Intel
                OS: Mac OS X 10.10
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Frames
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: chad at vonnau.com

Webkit/Blink browsers ignore CSS transformations when scrolling content to show focused elements in iframes. This can cause the document to scroll even when it's not necessary.

Steps to reproduce:

1. Visit http://codepen.io/cvn/pen/KwVePP
2. Resize your browser window so you can't see the pink lines
3. Press tab a few times to cycle focus through the inputs
4. The document will scroll to show elements that overflow the viewport
5. Tick the "scale" checkbox
6. Press tab a few more times

Expected result:

The document should not scroll when focusing on an input inside the iframe since the entire iframe is already visible

Actual result:

The document scrolls to show the focused elements as if they were not scaled.


* This only happens when there are elements that cause overflow.
* The position of the focused elements appears to always be calculated from the top left of the iframe.
* The document scrolls even if it is overflow:hidden;
* Firefox 36 handles this correctly, and does not scroll unnecessarily.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150326/82a12d37/attachment-0002.html>

More information about the webkit-unassigned mailing list