[Webkit-unassigned] [Bug 122602] contentEditable deleting lists when list items are block level
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Oct 28 16:22:43 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=122602
--- Comment #14 from Ryosuke Niwa <rniwa at webkit.org> 2013-10-28 16:21:28 PST ---
(From update of attachment 215318)
View in context: https://bugs.webkit.org/attachment.cgi?id=215318&action=review
> Source/WebCore/editing/htmlediting.cpp:545
> - return n && n->renderer() && n->renderer()->isListItem();
> + return n && (n->hasTagName(liTag) || (n->renderer() && n->renderer()->isListItem()));
A better check than n->hasTagName will be isListElement(n->parentNode()).
--
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