[Webkit-unassigned] [Bug 122602] contentEditable deleting lists when list items are block level
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Oct 29 21:59:09 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=122602
--- Comment #16 from Santosh Mahto <santosh.ma at samsung.com> 2013-10-29 21:57:54 PST ---
(In reply to comment #14)
> (From update of attachment 215318 [details])
> 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()).
updated this in latest patch.thanks
--
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