[Webkit-unassigned] [Bug 21840] execCommand insertImage inserts image into wrong place

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 28 00:04:26 PST 2010


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





--- Comment #7 from Tony Chang (Google) <tony at chromium.org>  2010-01-28 00:04:24 PST ---
(In reply to comment #6)
> Created an attachment (id=47595)
 --> (https://bugs.webkit.org/attachment.cgi?id=47595) [details]
> Patch

This fixes the bug by changing the destination position in ReplaceSelection to
be outside the end of preceding nodes as long as the visual position doesn't
change.  This had the nice side effect of removing some extraneous spans from
some other tests.

This also fixes bug 23993.

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