2018-03-03 UTC
# Zegnat The textContent of the P element in `<p>Hallo<br>Bye</p>` is “HalloBye”. Because the P element contains 3 child nodes: text node “Hallo”, element “br”, text node “Bye”. The BR element is checked to see if it contains child nodes, it does not. Then all found text nodes are concatinated for the final value, thus “HalloBye”.