[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 19:57:53 PST 2010


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





--- Comment #7 from Ryosuke Niwa <rniwa at webkit.org>  2010-01-28 19:57:51 PST ---
Tony, new reproduction steps,

1. go to http://www.mozilla.org/editor/midasdemo/
2. paste
<div style="text-decoration: none;">
<div style="font-weight: bold;">one</div>
<div>two</div>
</div>
3. go to rich text editing and select all
4. cut & paste

actual (r53842):
<div style="text-decoration: none;"> <div style="font-weight: bold;"><span
class="Apple-style-span" style="font-weight: normal; "><div style="font-weight:
bold; ">one</div><div>two</div></span></div>

expected:
no div inside a span.

Look at my comments 4-5. This bug addresses one serious issue in createMarkup,
and now styles are handled.

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