4 <link rel=
"help" href=
"http://www.whatwg.org/specs/web-apps/current-work/multipage/editing.html#making-entire-documents-editable:-the-designmode-idl-attribute"/>
5 <script src=
"../../../resources/js-test.js"></script>
9 description("Make sure the designMode attribute is exposed on non-HTML documents.");
11 var xmlDocument
= document
.implementation
.createDocument("", "", null);
12 shouldBe("xmlDocument.__proto__", "XMLDocument.prototype");
13 shouldBe("xmlDocument.__proto__.__proto__", "Document.prototype");
15 shouldBeEqualToString("xmlDocument.designMode", "off");
16 shouldNotThrow("xmlDocument.designMode = 'on'");
17 shouldBeEqualToString("xmlDocument.designMode", "on");