[Webkit-unassigned] [Bug 26937] Copying and pasting into a contenteditable area can create <div>s surrounded by <span>s

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 28 18:56:18 PST 2010


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


Tony Chang (Google) <tony at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tony at chromium.org




--- Comment #6 from Tony Chang (Google) <tony at chromium.org>  2010-01-28 18:56:16 PST ---
I'm unable to repro this bug.  In the original test case, when I paste the
HTML, I get:

<div style="font-family: Courier; font-size: small; ">one</div><div
style="font-family: Courier; font-size: small; ">two</div>

I tested in Chrome Mac (4.0.302.2) and Safari (4.0.4 (5531.21.10).

In the attachment by Ryosuke, the underline is preserved and the "after" html
is:
a <blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px;
border: none; padding: 0px;"></blockquote><div id="start"
style="text-decoration: underline; display: inline !important;
">hello</div><br><div id="end">world</div> b

The empty blockquote is a little unfortunate, but it doesn't seem to cause
problems in this test.

Is this bug still valid?

-- 
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