[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:58:33 PST 2020
https://bugs.webkit.org/show_bug.cgi?id=206093
--- Comment #11 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/accessibility/AccessibilityObject.cpp:1193
>>> + return nullptr;
>>
>> Can we check that the backing element for this object is HTMLTextFormControlElement
>> to minimize the risk of this code change causing other kinds of issues?
>
> Also, we should probably add a comment about why we have to do this.
> Maybe something like: // Avoid setting selection to outside input element in setSelectionRange. See webkit.org/b/206093.
Will add the comment!
About the element check, this bug is not only reproducible on HTMLTextFormControlElement(<input> and <textarea>) but also on and content-editable <div> (See the added test for an example).
--
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/166dc85a/attachment.htm>
More information about the webkit-unassigned
mailing list