[Webkit-unassigned] [Bug 36724] Add support for <ol reversed>

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 30 13:04:20 PDT 2010


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





--- Comment #9 from Darin Adler <darin at apple.com>  2010-03-30 13:04:20 PST ---
(In reply to comment #8)
> > We need correct behavior even with "broken" HTML. Dynamic changes should not
> > give different results than the same markup in non-dynamic form. I think we do
> > need to do the equivalent of listening to changes in the entire subtree. Maybe
> > we can find an efficient way to do it. I suspect we can.
> 
> Any specific idea? :)

You could take a look at the mechanisms that NodeList uses to keep its lists up
to date. The requirements of a TagNodeList are quite similar to what a list
would need to do to keep track of its list items. The functions
notifyNodeListsAttributeChanged and notifyNodeListsChildrenChanged are part of
what makes node lists work.

We may need to do more of this on the render tree side instead of the DOM tree.
An element with "display: list-item" contributes to list numbering too. In
fact, I think that may be something wrong with the current code and patch. We
need some test cases that use CSS to create list items or to turn list items
into non-list-item content.

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