A Document dummy that mocks just enough of the DOM API to render HTML.