Don\'t iterate on childNodes, use children instead so we don't get text nodes
don't crash getStyle when given a text node
merging changes from develop