[Webkit-unassigned] [Bug 185897] AX: setValue on contenteditable should preserve whitespace
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue May 29 08:59:26 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=185897
--- Comment #28 from Nan Wang <n_wang at apple.com> ---
(In reply to Darin Adler from comment #27)
> Comment on attachment 341385 [details]
> patch
>
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=341385&action=review
>
> > Source/WebCore/accessibility/AccessibilityRenderObject.cpp:1787
> > + editor.clearText();
> > + 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
--
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/20180529/4abff133/attachment.html>
More information about the webkit-unassigned
mailing list