mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
parent
b805e74fef
commit
6104d5105f
8 changed files with 6 additions and 261 deletions
|
@ -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()
|
||||
|
|
|
@ -16,6 +16,7 @@ interface Document : Node {
|
|||
readonly attribute DOMString documentURI;
|
||||
readonly attribute DOMString compatMode;
|
||||
readonly attribute DOMString characterSet;
|
||||
readonly attribute DOMString inputEncoding;
|
||||
readonly attribute DOMString contentType;
|
||||
|
||||
readonly attribute DocumentType? doctype;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue