Bug 1091425 - Use the correct document when creating nodes in the HTML5 parser. r=hsivonen