[Webkit-unassigned] [Bug 194143] Unable to move selection into editable roots with 0 height
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Feb 1 21:49:46 PST 2019
https://bugs.webkit.org/show_bug.cgi?id=194143
--- Comment #1 from Wenson Hsieh <wenson_hsieh at apple.com> ---
In particular, this is needed for compatibility with at least one commonly used web-based rich text editor, when pasting content. The relevant code is in Position::isCandidate():
if (block.logicalHeight() || is<HTMLBodyElement>(m_anchorNode)) {
…
}
...wherein we preclude childless non-body elements with 0 height from being the anchor for a VisiblePosition.
--
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/20190202/32f97c0d/attachment.html>
More information about the webkit-unassigned
mailing list