This tests the behavior of a Doctype inside an Element.