[Webkit-unassigned] [Bug 206093] AX: Unable to use AccessibilityObject::replaceTextInRange to insert text at first time when the text fields are empty
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jan 16 15:57:44 PST 2020
https://bugs.webkit.org/show_bug.cgi?id=206093
--- Comment #10 from Canhai Chen <canhai_chen at apple.com> ---
Comment on attachment 387877
--> https://bugs.webkit.org/attachment.cgi?id=387877
Patch
View in context: https://bugs.webkit.org/attachment.cgi?id=387877&action=review
>> Source/WebCore/ChangeLog:9
>> + When we are trying to insert text in an empty text field with (0, 0) range, the frame selection will create a new VisibleSelection in FrameSelection::setSelectedRange, and the container node that this new VisibleSelection returns is the parent node of the text field element, which could be a HTMLDivElement or HTMLBodyElement. Because the container node is not editable, it failed to insert text in Editor::replaceSelectionWithText later.
>
> Can we hard-wrap this line into multiple lines?
> This is a really long single line comment.
Will do. Thanks!
--
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/20200116/2e1b569f/attachment.htm>
More information about the webkit-unassigned
mailing list