Bug 201306 - Copying and pasting two paragraphs with a newline between them results in stray paragraph with newline inside
Summary: Copying and pasting two paragraphs with a newline between them results in str...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Timothy Hatcher
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-08-29 12:07 PDT by Timothy Hatcher
Modified: 2019-08-29 18:42 PDT (History)
3 users (show)

See Also:


Attachments
Patch (4.62 KB, patch)
2019-08-29 12:11 PDT, Timothy Hatcher
no flags Details | Formatted Diff | Diff
Patch (4.60 KB, patch)
2019-08-29 12:15 PDT, Timothy Hatcher
no flags Details | Formatted Diff | Diff
Patch (5.56 KB, patch)
2019-08-29 13:36 PDT, Timothy Hatcher
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Timothy Hatcher 2019-08-29 12:07:05 PDT
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>
Comment 1 Timothy Hatcher 2019-08-29 12:11:49 PDT Comment hidden (obsolete)
Comment 2 Timothy Hatcher 2019-08-29 12:14:44 PDT Comment hidden (obsolete)
Comment 3 Timothy Hatcher 2019-08-29 12:15:29 PDT Comment hidden (obsolete)
Comment 4 Wenson Hsieh 2019-08-29 12:31:13 PDT
Comment on attachment 377605 [details]
Patch

r=mews
Comment 5 Timothy Hatcher 2019-08-29 13:36:17 PDT
Created attachment 377621 [details]
Patch
Comment 6 WebKit Commit Bot 2019-08-29 18:41:05 PDT
Comment on attachment 377621 [details]
Patch

Clearing flags on attachment: 377621

Committed r249307: <https://trac.webkit.org/changeset/249307>
Comment 7 WebKit Commit Bot 2019-08-29 18:41:07 PDT
All reviewed patches have been landed.  Closing bug.
Comment 8 Radar WebKit Bug Importer 2019-08-29 18:42:19 PDT
<rdar://problem/54865136>