[Webkit-unassigned] [Bug 185897] AX: setValue on contenteditable should preserve whitespace
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue May 29 21:43:37 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=185897
--- Comment #30 from Darin Adler <darin at apple.com> ---
Comment on attachment 341385
--> https://bugs.webkit.org/attachment.cgi?id=341385
patch
View in context: https://bugs.webkit.org/attachment.cgi?id=341385&action=review
>>> Source/WebCore/accessibility/AccessibilityRenderObject.cpp:1787
>>> + editor.insertText(string, nullptr);
>>
>> No need for the call to clearText; insertText will replace the selected text.
>
> When I removed the clearText() call, the layout test result would contain the previous value
Thanks for trying it. At some point I would like to research why that is behaving that way, but for now I’m satisfied by the fact that you checked.
--
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/20180530/5614bcdf/attachment.html>
More information about the webkit-unassigned
mailing list