[Bug 24644] li should provide DOM interface to its value representation

https://www.w3.org/Bugs/Public/show_bug.cgi?id=24644

Felipe N. Moura <felipenmoura@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |felipenmoura@gmail.com

--- Comment #1 from Felipe N. Moura <felipenmoura@gmail.com> ---
really interesting!

I think that the "best way" for you to get the number of a LI is by verifying
which nth-child it is from its parent, although it is not very trustful once
the list may start in a different value. Also, in case there is any (not valid)
text node inside the ol, not inside any li, it would interfere with this
number!
I would even propose an increment to that.
The LI elements could offer on its API two properties, one for the actual index
of the list(1, 2, 3, ... n) and other to the rendered value(1, 2, 3...or I, II,
III, IV, or A, B, C...etc).

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Monday, 17 February 2014 14:32:29 UTC