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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 30 12:14:59 PDT 2010


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





--- Comment #8 from Jakub Wieczorek <jwieczorek at webkit.org>  2010-03-30 12:14:59 PST ---
> 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? :)

> I was thinking instead that the function would take a node and return the list
> item marker text for the renderer corresponding to that node, or null if there
> is no list item.

> Maybe I can help you improve the tests. I was thinking we could use the
> function I had in mind and a little JavaScript code to generate a nice,
> readable outline in plain text.

Yes, that seems to make much more sense. I'll look into it.

> > Also, the added function needs to know the logic of how list elements and item
> > elements interact with each other, which makes it more error-prone and if it
> > has bugs itself, it can hide other bugs in the implementation.
> 
> That's surprising. I suggest we find a way to do it and use the
> RenderListItem::markerText() function.

Yes. With your approach, my comment would become outdated anyway though.

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