[Webkit-unassigned] [Bug 105323] when contentEditable=true inside contentEditable=false inside contentEditable=true, backspace behavior is wrong

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 15 14:37:05 PST 2013


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





--- Comment #3 from Enrica Casucci <enrica at apple.com>  2013-01-15 14:38:50 PST ---
(In reply to comment #2)
> Created an attachment (id=182773)
 --> (https://bugs.webkit.org/attachment.cgi?id=182773&action=review) [details]
> test case showing contenteditable=false inside contenteditable=true
> 
> this case shows three different cases and how they are handled differently by the delete command:
> 
> Try to delete the three contenteditable=false areas using backspace/del, and the results are very different -- one can be deleted without problems, one spills its contents into the outer container, and the last one cannot be deleted at all.

The mixed editablity scenarios are very tricky and our support is definitely not complete.
Part of the reason is that there are many situations in which it is unclear what the right thing to do is.
Not much progress has been done in this area, since it has always been considered an uncommon scenario and the reason is that we have seen very few bugs in this area.
I believe WebKit handles fairly well documents containing editable and non editable portions, the problems appear when we nest them.
I don't know the scope of what you're trying to accomplish, but maybe you can consider an approach where you avoid nested editable/non-editable elements. I'll be happy to provide any guidance in this area.

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