[Webkit-unassigned] [Bug 151602] ASSERTION FAILED: forward ? nativeIndex < nativeLength : nativeIndex <= nativeLength in WebCore::textUTF16ContextAwareMoveInPrimaryContext

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 9 11:21:51 PST 2016


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

Myles C. Maxfield <mmaxfield at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|New Bugs                    |HTML Editing

--- Comment #7 from Myles C. Maxfield <mmaxfield at apple.com> ---
It looks like findEndOfParagraph() in VisibleUnits.cpp doesn't understand about ::first-letter. It asks for the node's renderer(), then asks the renderer for an offset within itself, but then blindly applies that offset to the node itself.

IIRC there are more situations where offsets in the renderer's text may not match offsets in the node's text (if memory serves, there is at least one single-code-unit code point which text-transform: uppercase will cause to expand into multiple code units)

-- 
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/20161209/bf3c64a3/attachment-0001.html>


More information about the webkit-unassigned mailing list