OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2011 Apple Inc. All rights reserved. |
3 * Copyright (C) 2006, 2007 Samuel Weinig <sam@webkit.org> | 3 * Copyright (C) 2006, 2007 Samuel Weinig <sam@webkit.org> |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
(...skipping 19 matching lines...) Expand all Loading... |
30 // https://wicg.github.io/cors-rfc1918/#feature-detect | 30 // https://wicg.github.io/cors-rfc1918/#feature-detect |
31 enum AddressSpace { "local", "private", "public" }; | 31 enum AddressSpace { "local", "private", "public" }; |
32 | 32 |
33 typedef (HTMLScriptElement or SVGScriptElement) HTMLOrSVGScriptElement; | 33 typedef (HTMLScriptElement or SVGScriptElement) HTMLOrSVGScriptElement; |
34 | 34 |
35 // https://dom.spec.whatwg.org/#interface-document | 35 // https://dom.spec.whatwg.org/#interface-document |
36 | 36 |
37 // FIXME: Document should have a constructor. crbug.com/238234 | 37 // FIXME: Document should have a constructor. crbug.com/238234 |
38 interface Document : Node { | 38 interface Document : Node { |
39 [SameObject] readonly attribute DOMImplementation implementation; | 39 [SameObject] readonly attribute DOMImplementation implementation; |
40 readonly attribute DOMString URL; | 40 [ImplementedAs=urlForBinding] readonly attribute DOMString URL; |
41 // FIXME: documentURI should not be nullable. | 41 // FIXME: documentURI should not be nullable. |
42 [ImplementedAs=url] readonly attribute DOMString? documentURI; | 42 [ImplementedAs=urlForBinding] readonly attribute DOMString? documentURI; |
43 [MeasureAs=DocumentOrigin] readonly attribute DOMString origin; | 43 [MeasureAs=DocumentOrigin] readonly attribute DOMString origin; |
44 [RuntimeEnabled=suborigins] readonly attribute DOMString suborigin; | 44 [RuntimeEnabled=suborigins] readonly attribute DOMString suborigin; |
45 readonly attribute DOMString compatMode; | 45 readonly attribute DOMString compatMode; |
46 | 46 |
47 readonly attribute DOMString characterSet; | 47 readonly attribute DOMString characterSet; |
48 [ImplementedAs=characterSet] readonly attribute DOMString charset; // legacy
alias of .characterSet | 48 [ImplementedAs=characterSet] readonly attribute DOMString charset; // legacy
alias of .characterSet |
49 [ImplementedAs=characterSet] readonly attribute DOMString inputEncoding; //
legacy alias of .characterSet | 49 [ImplementedAs=characterSet] readonly attribute DOMString inputEncoding; //
legacy alias of .characterSet |
50 readonly attribute DOMString contentType; | 50 readonly attribute DOMString contentType; |
51 | 51 |
52 readonly attribute DocumentType? doctype; | 52 readonly attribute DocumentType? doctype; |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa
ndler onsecuritypolicyviolation; | 208 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa
ndler onsecuritypolicyviolation; |
209 attribute EventHandler onselectionchange; | 209 attribute EventHandler onselectionchange; |
210 attribute EventHandler onselectstart; | 210 attribute EventHandler onselectstart; |
211 attribute EventHandler onwheel; | 211 attribute EventHandler onwheel; |
212 }; | 212 }; |
213 | 213 |
214 Document implements GlobalEventHandlers; | 214 Document implements GlobalEventHandlers; |
215 Document implements ParentNode; | 215 Document implements ParentNode; |
216 Document implements NonElementParentNode; | 216 Document implements NonElementParentNode; |
217 Document implements DocumentOrShadowRoot; | 217 Document implements DocumentOrShadowRoot; |
OLD | NEW |