WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 24009
32232
Unnecessary nesting of divs after copy and pasting certain kinds of selections
https://bugs.webkit.org/show_bug.cgi?id=32232
Summary
Unnecessary nesting of divs after copy and pasting certain kinds of selections
Justin Garcia
Reported
2009-12-07 11:20:51 PST
Open the attached testcase ("<body contentEditable="true"><div><br></div></body>"). Type "test", <return>, Select All, Copy, put the caret at the end of the document and Paste. Examine the DOM, and you'll see: <body contentEditable="true"> <div>test</div> <div><div>test</div></div> <div><br></div> </body> It would be nice to avoid the unnecessary nesting, since the divs don't have any properties worth preserving like a border. <
rdar://problem/6759298
>
Attachments
Add attachment
proposed patch, testcase, etc.
David Kilzer (:ddkilzer)
Comment 1
2009-12-11 11:13:10 PST
Removing InRadar keyword since that one has been closed.
David Kilzer (:ddkilzer)
Comment 2
2009-12-11 11:14:58 PST
<
rdar://problem/7464871
>
Ryosuke Niwa
Comment 3
2010-08-17 20:03:18 PDT
*** This bug has been marked as a duplicate of
bug 24009
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug