[Bug 27623] New: A node.index() method for the ChildNode interface?
| Newsgroups | gmane.comp.web.dom.general |
|---|---|
| Message-ID | <[email protected]/Bugs/Public/> |
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: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected], [email protected]
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.