DOM 2 Traversal support #398

Open
wants to merge 1 commit into
from

Conversation

Projects
None yet
1 participant
Contributor

andekande commented Sep 23, 2013

To meet the .Net behaviour in modern browsers. We could also use [ScriptName] since NextSibling etc. is a IE8 only thingy, see:
http://www.quirksmode.org/dom/w3c_traversal.html

from http://www.w3.org/TR/ElementTraversal/#introduction
"The DOM Level 1 Node interface defines 11 node types, but most commonly authors wish to operate solely on nodeType 1, the Element node. Other node types include the Document element and Text nodes, which include whitespace and line breaks [and comments]. DOM 1 node traversal includes all of these node types..."

DOM 2 Traversal support
To meet the .Net behaviour in modern browsers. We could also use [ScriptName] since NextSibling etc. is a IE8 only thingy, see:
http://www.quirksmode.org/dom/w3c_traversal.html

from http://www.w3.org/TR/ElementTraversal/#introduction
"The DOM Level 1 Node interface defines 11 node types, but most commonly authors wish to operate solely on nodeType 1, the Element node. Other node types include the Document element and Text nodes, which include whitespace and line breaks [and comments]. DOM 1 node traversal includes all of these node types..."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment