With HTML markup like
If you obtain a reference to the outer div, it will have one child node in some browsers, and three child nodes in others, depending on how whitespace is treated. Some will have text nodes with the newline and whitespace as children of div#foo
before and after the link element.