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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 25 20:34:42 PDT 2018


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

--- Comment #24 from Darin Adler <darin at apple.com> ---
Comment on attachment 341377
  --> https://bugs.webkit.org/attachment.cgi?id=341377
patch

View in context: https://bugs.webkit.org/attachment.cgi?id=341377&action=review

> Source/WebCore/accessibility/AccessibilityRenderObject.cpp:1789
> +            Editor& editor = frame->editor();
> +            if (element.shouldUseInputMethod()) {
> +                editor.clearText();
> +                TypingCommand::insertText(node()->document(), string, 0);
> +            }

I think this should probably use one of the Editor::insertText functions instead.

>> LayoutTests/accessibility/mac/set-value-editable-types-expected.txt:13
>>  PASS successfullyParsed is true
> 
> Where are theses As coming from?

I think taht’s what a non-breaking space looks like when the encoding is misinterpreted.

-- 
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/20180526/20729daf/attachment.html>


More information about the webkit-unassigned mailing list