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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 24 09:47:27 PDT 2018


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

Darin Adler <darin at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |darin at apple.com

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

This change does not seem correct. Mutating RenderStyle doesn’t make a permanent change to the document. The style can change if something causes it to be invalidated and recomputed. So this might make things look right temporarily but it’s a fragile illusion. I don’t fully understand the goal here, but if the goal is to add non-collapsible spaces that will last then we need to mutate the DOM, affecting the style indirectly, not mutate style.

-- 
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/20180524/482fb9c6/attachment.html>


More information about the webkit-unassigned mailing list