diff options
author | Ms2ger <ms2ger@gmail.com> | 2014-02-22 13:24:19 +0100 |
---|---|---|
committer | Ms2ger <ms2ger@gmail.com> | 2014-02-22 13:24:19 +0100 |
commit | b74546958149558ff3982bafda78b40ec0ae6fbf (patch) | |
tree | fb607ea3f114359f485d9bd7ef97f135a2cb2107 /src/components/script/dom/webidls/HTMLDocument.webidl | |
parent | 006237fed3c732148373a49211fc08dc8d215e5a (diff) | |
download | servo-b74546958149558ff3982bafda78b40ec0ae6fbf.tar.gz servo-b74546958149558ff3982bafda78b40ec0ae6fbf.zip |
Remove commented-out parts of Document.webidl and HTMLDocument.webidl.
Diffstat (limited to 'src/components/script/dom/webidls/HTMLDocument.webidl')
-rw-r--r-- | src/components/script/dom/webidls/HTMLDocument.webidl | 59 |
1 files changed, 1 insertions, 58 deletions
diff --git a/src/components/script/dom/webidls/HTMLDocument.webidl b/src/components/script/dom/webidls/HTMLDocument.webidl index f735e4f5326..b899a46678f 100644 --- a/src/components/script/dom/webidls/HTMLDocument.webidl +++ b/src/components/script/dom/webidls/HTMLDocument.webidl @@ -4,71 +4,14 @@ * You can obtain one at http://mozilla.org/MPL/2.0/. */ -interface Selection; - -[OverrideBuiltins] +/* http://www.whatwg.org/specs/web-apps/current-work/#the-document-object */ interface HTMLDocument : Document { - // [Throws] - // attribute DOMString? domain; - // [Throws] - // attribute DOMString cookie; - // DOM tree accessors - // [Throws] - // getter object (DOMString name); - /*[SetterThrows] - attribute HTMLElement? body;*/ - // readonly attribute HTMLHeadElement? head; readonly attribute HTMLCollection images; readonly attribute HTMLCollection embeds; readonly attribute HTMLCollection plugins; readonly attribute HTMLCollection links; readonly attribute HTMLCollection forms; readonly attribute HTMLCollection scripts; - /*NodeList getElementsByName(DOMString elementName); - NodeList getItems(optional DOMString typeNames = ""); // microdata*/ - - // dynamic markup insertion - /*[Throws] - Document open(optional DOMString type = "text/html", optional DOMString replace = ""); - [Throws] - WindowProxy open(DOMString url, DOMString name, DOMString features, optional boolean replace = false);*/ - // [Throws] - // void close(); - /*[Throws] - void write(DOMString... text); - [Throws] - void writeln(DOMString... text);*/ - - // [SetterThrows] - // attribute DOMString designMode; - // [Throws] - // boolean execCommand(DOMString commandId, optional boolean showUI = false, - // optional DOMString value = ""); - // [Throws] - // boolean queryCommandEnabled(DOMString commandId); - // [Throws] - // boolean queryCommandIndeterm(DOMString commandId); - // [Throws] - // boolean queryCommandState(DOMString commandId); - // boolean queryCommandSupported(DOMString commandId); - // [Throws] - // DOMString queryCommandValue(DOMString commandId); - - // [TreatNullAs=EmptyString] attribute DOMString fgColor; - // [TreatNullAs=EmptyString] attribute DOMString linkColor; - // [TreatNullAs=EmptyString] attribute DOMString vlinkColor; - // [TreatNullAs=EmptyString] attribute DOMString alinkColor; - // [TreatNullAs=EmptyString] attribute DOMString bgColor; - readonly attribute HTMLCollection anchors; readonly attribute HTMLCollection applets; - - // void clear(); - - // [Throws] - // readonly attribute object all; - - // https://dvcs.w3.org/hg/editing/raw-file/tip/editing.html#selections - /*[Throws] - Selection getSelection();*/ }; |