[Webkit-unassigned] [Bug 139694] ContentEditable=True inside of an Iframe jumps to the top of the parent window.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jun 2 13:42:07 PDT 2017
https://bugs.webkit.org/show_bug.cgi?id=139694
Cory LaViska <cory at abeautifulsite.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |cory at abeautifulsite.net
--- Comment #3 from Cory LaViska <cory at abeautifulsite.net> ---
I'm still seeing this behavior in the latest iOS. I actually discovered this while troubleshooting what I thought was a TinyMCE bug in Postleaf. It appears as though the frame's document.body.scrollTop value is always 0, regardless of whether or not the frame is scrolled.
Then I realized you can't set an explicit height on an iframe in iOS. They seem to expand to the full height of their content.
That said, I'm not sure if this is actually a Webkit bug or a side effect of iframe's on mobile Safari not accepting the height specified by CSS. It could be that TinyMCE, CKEditor, et al assume scrollTop will be a positive value when instead it stays at zero, and the libs are "fixing" the scroll position based on that value.
--
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/20170602/83abcd23/attachment.html>
More information about the webkit-unassigned
mailing list