[Webkit-unassigned] [Bug 149264] IFrame scrolling=yes is ignored in iOS Safari

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 18 08:28:43 PDT 2015


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

Rick Byers <rbyers at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |benjamin at webkit.org,
                   |                            |rbyers at chromium.org

--- Comment #1 from Rick Byers <rbyers at chromium.org> ---
Tested on iOS 9, still broken.

It looks like web developers have struggled with this for awhile, and claim it got worse in iOS 8 eg:
http://stackoverflow.com/questions/26046373/iframe-scrolling-ios-8
https://css-tricks.com/forums/topic/scrolling-iframe-on-ipad/

Simon, any chance your work on improving viewports/scrolling might help here?  It seems really confusing that an iframe should behave differently from a scrollable div in this regard, and that iOS would be different from desktop Safari.

Dima tells me that the obvious work-around of putting a scrollable div inside the iframe is problematic for him because he doesn't have control of the iframe content/styling.  He can make the iframe body overflow:auto (along with html) and that works, but then is burned by bug 106133 (can't get/set the scroll position because body.scrollTop actually refers to the viewport).  Ultimately he ends up having to use a dummy DIV and getBoundlingClientRect in order to detect the scroll position of the iframe, yuck!

-- 
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/20150918/9599806e/attachment-0001.html>


More information about the webkit-unassigned mailing list