[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
Wed Jan 15 18:47:06 PST 2020


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

--- Comment #9 from Ryosuke Niwa <rniwa at webkit.org> ---
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.

-- 
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/ef18205a/attachment.htm>


More information about the webkit-unassigned mailing list