[Webkit-unassigned] [Bug 197894] Inserting a newline in contenteditable causes two characters to be added instead of one

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 15 18:28:15 PDT 2019


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

--- Comment #11 from Andres Gonzalez <andresg_22 at apple.com> ---
(In reply to chris fleizach from comment #5)
> Comment on attachment 369892 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=369892&action=review
> 
> > Source/WebCore/editing/markup.cpp:1139
> > +    }
> 
> it looks like this is pretty identical to line 1119.  maybe we can make this
> HTMLBRElement creation and fragment returning into a closure

Done. Lambda that creates the HTMLBRElement is reused throughout the function.

-- 
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/20190516/be34d6c9/attachment.html>


More information about the webkit-unassigned mailing list