Auto merge of #9036 - KiChjang:document-charset, r=Ms2ger

Implement Document charset

Rebase of #7966.

Fixes #7718.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9036)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2015-12-21 22:05:02 +05:30
commit df087cc6cf
9 changed files with 36 additions and 270 deletions

View file

@ -20,6 +20,7 @@ interface Document : Node {
readonly attribute DOMString documentURI;
readonly attribute DOMString compatMode;
readonly attribute DOMString characterSet;
readonly attribute DOMString charset; // legacy alias of .characterSet
readonly attribute DOMString inputEncoding; // legacy alias of .characterSet
[Constant]
readonly attribute DOMString contentType;