| Index: LayoutTests/fast/dom/document-contentType-createDocument.html
|
| diff --git a/LayoutTests/fast/dom/document-contentType-createDocument.html b/LayoutTests/fast/dom/document-contentType-createDocument.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..54569dd460c80e30db3fc086860a7790480aa5f9
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/dom/document-contentType-createDocument.html
|
| @@ -0,0 +1,12 @@
|
| +<!DOCTYPE html>
|
| +<title>document.contentType</title>
|
| +<link rel="help" href="http://dom.spec.whatwg.org/#dom-document-contenttype">
|
| +<script src="../../resources/js-test.js"></script>
|
| +<body>
|
| +<script>
|
| +var doc = document.implementation.createHTMLDocument('f');
|
| +shouldBe('doc.contentType', '"text/html"');
|
| +
|
| +doc = document.implementation.createDocument(null, 'root', null);
|
| +shouldBe('doc.contentType', '"application/xml"');
|
| +</script>
|
|
|