[Webkit-unassigned] [Bug 185897] AX: setValue on contenteditable should preserve whitespace

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 28 17:27:28 PDT 2018


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

--- Comment #27 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.clearText();
> +                editor.insertText(string, nullptr);

No need for the call to clearText; insertText will replace the selected text.

-- 
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/a0cf7dbd/attachment-0001.html>


More information about the webkit-unassigned mailing list