[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 07:47:22 PDT 2013


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





--- Comment #11 from Santosh Mahto <santosh.ma at samsung.com>  2013-10-28 07:46:07 PST ---
(In reply to comment #9)
> I was referring to a list that was built out of some other element, such as a custom tag:
> 
>     <style>item { display: list-item }</style>
>     <ol><item>first</item><item>second</item>
> 
> Does the old code work for lists like that?

Yes, old code will work. because second  test(renderer) will pass.
     return n && (n->hasTagName(liTag) ||
  PASS-->                     (n->renderer() &&    n->renderer()->isListItem()));

But Without my  patch. This will fail.
     <style>item { display: block}</style>
     <ol><li>first</li><li>second</li>

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