Select all, copy and paste: <p>Line One</p>\n<p>Line Two</p> Result: <p>Line One</p><p>\n</p><p>Line Two</p>
Created attachment 377604 [details] Patch
Comment on attachment 377604 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=377604&action=review > Source/WebCore/editing/ReplaceSelectionCommand.cpp:733 > + bool safeToRemoveAncestor = !ancestor.firstChild(); Oops, this was debugging code to test. Should default to true. Will post new patch.
Created attachment 377605 [details] Patch
Comment on attachment 377605 [details] Patch r=mews
Created attachment 377621 [details] Patch
Comment on attachment 377621 [details] Patch Clearing flags on attachment: 377621 Committed r249307: <https://trac.webkit.org/changeset/249307>
All reviewed patches have been landed. Closing bug.
<rdar://problem/54865136>