DOM tests - The node tree without empty child nodes

Back to index.

Spec

children

firstElementChild

lastElementChild

nextElementSibling

previousElementSibling

childElementCount

Test area

This DIV with id="testRoot" starts with an em and HAS EMPTY TEXT NODES.

and then comes a paragraph with id="testPar" which has a strong tag nested in it.

And after a comment comes this div.

And in this nested paragraph I remind you that there are empty text nodes between the elements.