[Webkit-unassigned] [Bug 122602] contentEditable deleting lists when list items are block level

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Oct 27 12:11:55 PDT 2013


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





--- Comment #6 from Darin Adler <darin at apple.com>  2013-10-27 12:10:40 PST ---
(From update of attachment 215255)
View in context: https://bugs.webkit.org/attachment.cgi?id=215255&action=review

> Source/WebCore/editing/htmlediting.cpp:546
>  bool isListItem(const Node *n)
>  {
> -    return n && n->renderer() && n->renderer()->isListItem();
> +    return n && (n->hasTagName(liTag) || (n->renderer() && n->renderer()->isListItem()));
>  }

Looks like this would make it impossible to delete a list that was built with an element other than <li> and CSS style.

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