diff options
Diffstat (limited to 'components/script/dom/document.rs')
-rw-r--r-- | components/script/dom/document.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/components/script/dom/document.rs b/components/script/dom/document.rs index 8a4beae9dc4..7995b438a4c 100644 --- a/components/script/dom/document.rs +++ b/components/script/dom/document.rs @@ -509,6 +509,11 @@ impl<'a> DocumentMethods for JSRef<'a, Document> { self.encoding_name.borrow().clone() } + // http://dom.spec.whatwg.org/#dom-document-inputencoding + fn InputEncoding(self) -> DOMString { + self.encoding_name.borrow().clone() + } + // http://dom.spec.whatwg.org/#dom-document-content_type fn ContentType(self) -> DOMString { self.content_type.clone() |