[Webkit-unassigned] [Bug 47551] Can't unlink image in contenteditable div if there is not text before it

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 12 15:10:59 PDT 2010


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





--- Comment #4 from Ryosuke Niwa <rniwa at webkit.org>  2010-10-12 15:10:59 PST ---
(In reply to comment #0)
> Step to reproduce (Sample code attached):
> 
> 1. Setup a div with contenteditable attribute.
> 2. Place a linked image as the div's FIRST decedent
> 3. And have some text as the div's SECOND decedent.
> 3. Setup javascript to fire up an document.execCommand('unlink'); against that linked image.

This is an interesting bug.  I can remove the link if I just select the image but fails to remove if I selected all all the contents in the div (command+a on Mac / control+a on Windows).

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