[Webkit-unassigned] [Bug 32232] New: Unnecessary nesting of divs after copy and pasting certain kinds of selections
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Dec 7 11:20:51 PST 2009
https://bugs.webkit.org/show_bug.cgi?id=32232
Summary: Unnecessary nesting of divs after copy and pasting
certain kinds of selections
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Mac OS X 10.5
Status: NEW
Keywords: InRadar
Severity: Normal
Priority: P2
Component: HTML Editing
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: justin.garcia at apple.com
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>
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list