Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / Document / designMode-non-html.html
blob42f59a95593395e3210a828adf66b59cc1f83739
1 <!DOCTYPE html>
2 <html>
3 <head>
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>
6 </head>
7 <body>
8 <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");
18 </script>
19 </body>
20 </html>