W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > June 2010

[Bug 10001] For <ol> and <ul>, it would be very useful to have an array containing all top-level elements of the list, such as 'HTMLOListElement.listItems'

From: <bugzilla@jessica.w3.org>
Date: Wed, 23 Jun 2010 21:44:00 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1ORXjk-0003GE-By@jessica.w3.org>

Joseph A Thomas <jthoma12@calpoly.edu> changed:

           What    |Removed                     |Added
                 CC|                            |jthoma12@calpoly.edu

--- Comment #1 from Joseph A Thomas <jthoma12@calpoly.edu>  2010-06-23 21:43:59 ---
Currently, when trying to enumerate list items in a list, I am doing
"list.getElementsByTagName('li')", but unfortunately this gets items from
nested lists. Am I missing some easy way of doing this? (Short of visiting each
child node and checking if it is an <li>)

Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Wednesday, 23 June 2010 21:44:01 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:30:51 UTC