aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/htmldocument.rs
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno.d@partner.samsung.com>2014-01-21 11:18:53 -0400
committerBruno de Oliveira Abinader <bruno.d@partner.samsung.com>2014-01-21 12:48:09 -0400
commit1067da7df8b891b9df961ff6ab57ed2925bd2d03 (patch)
treeb6cde5de3a2b144f9e1a53c48d36467f831c362e /src/components/script/dom/htmldocument.rs
parent539cf58f732e62be3fd23a86603d78e53f33c82e (diff)
downloadservo-1067da7df8b891b9df961ff6ab57ed2925bd2d03.tar.gz
servo-1067da7df8b891b9df961ff6ab57ed2925bd2d03.zip
Basic support for Document::contentType
Spec: http://dom.spec.whatwg.org/#dom-document-contenttype This is a subtask for #1428, #1510 and #1526.
Diffstat (limited to 'src/components/script/dom/htmldocument.rs')
-rw-r--r--src/components/script/dom/htmldocument.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/script/dom/htmldocument.rs b/src/components/script/dom/htmldocument.rs
index 4a8ac7d8158..6443be08985 100644
--- a/src/components/script/dom/htmldocument.rs
+++ b/src/components/script/dom/htmldocument.rs
@@ -20,7 +20,7 @@ pub struct HTMLDocument {
impl HTMLDocument {
pub fn new_inherited(window: @mut Window) -> HTMLDocument {
HTMLDocument {
- parent: Document::new_inherited(window, HTML)
+ parent: Document::new_inherited(window, HTML, None)
}
}