mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
auto merge of #4270 : ProgramFOX/servo/issue-4252, r=saneyuki
Resolves #4252
This commit is contained in:
commit
feabaf34ac
8 changed files with 6 additions and 261 deletions
|
@ -518,6 +518,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