Don't include the root element when calling Element#getElementsByTagName

Fixes #4249
auto merge of #4304 : ema-fox/servo/bytag, r=Ms2ger

Fixes #4249