- From: <bugzilla@jessica.w3.org>
- Date: Tue, 16 Dec 2014 06:44:04 +0000
- To: www-dom@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=27623 Bug ID: 27623 Summary: A node.index() method for the ChildNode interface? Product: WebAppsWG Version: unspecified Hardware: PC OS: All Status: NEW Severity: normal Priority: P2 Component: DOM Assignee: annevk@annevk.nl Reporter: hey.hgl@gmail.com QA Contact: public-webapps-bugzilla@w3.org CC: mike@w3.org, www-dom@w3.org Love the jquery-like ChildNode interface. I wonder if it makes sense to add a node.index() method that returns the node's index. This would be very helpful when dealing with DOM ranges: range.setStart(node.parentNode, node.index()) -- You are receiving this mail because: You are on the CC list for the bug.
Received on Tuesday, 16 December 2014 06:44:06 UTC