Implement Document::doctype

Closes #1482.
This commit is contained in:
Bruno de Oliveira Abinader 2014-01-13 12:48:42 -04:00
parent 99f24fbd40
commit 742ad9cd24
3 changed files with 29 additions and 1 deletions

View file

@ -33,7 +33,7 @@ interface Document : Node {
// readonly attribute DOMString characterSet;
// readonly attribute DOMString contentType;
//readonly attribute DocumentType? doctype;
readonly attribute DocumentType? doctype;
readonly attribute Element? documentElement;
HTMLCollection getElementsByTagName(DOMString localName);
HTMLCollection getElementsByTagNameNS(DOMString? namespace, DOMString localName);