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 24 matching lines...) Expand all Loading... |
35 DocumentFragment createDocumentFragment(); | 35 DocumentFragment createDocumentFragment(); |
36 Text createTextNode(DOMString data); | 36 Text createTextNode(DOMString data); |
37 Comment createComment(DOMString data); | 37 Comment createComment(DOMString data); |
38 [RaisesException, MeasureAs=DocumentCreateCDATASection] CDATASection createC
DATASection([Default=Undefined] optional DOMString data); // Removed from DOM4. | 38 [RaisesException, MeasureAs=DocumentCreateCDATASection] CDATASection createC
DATASection([Default=Undefined] optional DOMString data); // Removed from DOM4. |
39 [RaisesException] ProcessingInstruction createProcessingInstruction(DOMStrin
g target, DOMString data); | 39 [RaisesException] ProcessingInstruction createProcessingInstruction(DOMStrin
g target, DOMString data); |
40 [RaisesException, MeasureAs=DocumentCreateAttribute] Attr createAttribute([D
efault=Undefined] optional DOMString name); // Removed from DOM4. | 40 [RaisesException, MeasureAs=DocumentCreateAttribute] Attr createAttribute([D
efault=Undefined] optional DOMString name); // Removed from DOM4. |
41 HTMLCollection getElementsByTagName(DOMString localName); | 41 HTMLCollection getElementsByTagName(DOMString localName); |
42 | 42 |
43 // Introduced in DOM Level 2: | 43 // Introduced in DOM Level 2: |
44 | 44 |
45 [CustomElementCallbacks, PerWorldBindings, LogActivity, RaisesException] Nod
e importNode(Node node, optional boolean deep); | 45 [CustomElementCallbacks, LogActivity, RaisesException] Node importNode(Node
node, optional boolean deep); |
46 [CustomElementCallbacks, PerWorldBindings, LogActivity, RaisesException] Ele
ment createElementNS([TreatNullAs=NullString] DOMString namespaceURI, DOMString
qualifiedName); | 46 [CustomElementCallbacks, LogActivity, RaisesException] Element createElement
NS([TreatNullAs=NullString] DOMString namespaceURI, DOMString qualifiedName); |
47 [RaisesException, DeprecateAs=DocumentCreateAttributeNS] Attr createAttribut
eNS([TreatNullAs=NullString,Default=Undefined] optional DOMString namespaceURI, | 47 [RaisesException, DeprecateAs=DocumentCreateAttributeNS] Attr createAttribut
eNS([TreatNullAs=NullString,Default=Undefined] optional DOMString namespaceURI, |
48
[TreatNullAs=NullString,Default=Undefined] optional DOMString qualifiedName);
// Removed from DOM4. | 48
[TreatNullAs=NullString,Default=Undefined] optional DOMString qualifiedName);
// Removed from DOM4. |
49 HTMLCollection getElementsByTagNameNS([TreatNullAs=NullString] DOMString nam
espaceURI, DOMString localName); | 49 HTMLCollection getElementsByTagNameNS([TreatNullAs=NullString] DOMString nam
espaceURI, DOMString localName); |
50 [PerWorldBindings] Element getElementById(DOMString elementId); | 50 [PerWorldBindings] Element getElementById(DOMString elementId); |
51 | 51 |
52 // DOM Level 3 Core | 52 // DOM Level 3 Core |
53 | 53 |
54 [TreatReturnedNullStringAs=Null, MeasureAs=DocumentInputEncoding] readonly a
ttribute DOMString inputEncoding; // Removed from DOM4. | 54 [TreatReturnedNullStringAs=Null, MeasureAs=DocumentInputEncoding] readonly a
ttribute DOMString inputEncoding; // Removed from DOM4. |
55 | 55 |
56 [TreatReturnedNullStringAs=Null, MeasureAs=DocumentXMLEncoding] readonly att
ribute DOMString xmlEncoding; // Removed from DOM4. | 56 [TreatReturnedNullStringAs=Null, MeasureAs=DocumentXMLEncoding] readonly att
ribute DOMString xmlEncoding; // Removed from DOM4. |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 readonly attribute HTMLCollection embeds; | 124 readonly attribute HTMLCollection embeds; |
125 [ImplementedAs=embeds] readonly attribute HTMLCollection plugins; | 125 [ImplementedAs=embeds] readonly attribute HTMLCollection plugins; |
126 readonly attribute HTMLCollection links; | 126 readonly attribute HTMLCollection links; |
127 readonly attribute HTMLCollection forms; | 127 readonly attribute HTMLCollection forms; |
128 readonly attribute HTMLCollection scripts; | 128 readonly attribute HTMLCollection scripts; |
129 readonly attribute HTMLCollection anchors; | 129 readonly attribute HTMLCollection anchors; |
130 readonly attribute DOMString lastModified; | 130 readonly attribute DOMString lastModified; |
131 | 131 |
132 [PerWorldBindings] NodeList getElementsByName([Default=Undefined] optional D
OMString elementName); | 132 [PerWorldBindings] NodeList getElementsByName([Default=Undefined] optional D
OMString elementName); |
133 | 133 |
134 [PerWorldBindings, LogActivity, PutForwards=href] readonly attribute Locatio
n location; | 134 [LogActivity, PutForwards=href] readonly attribute Location location; |
135 | 135 |
136 // IE extensions | 136 // IE extensions |
137 [MeasureAs=DocumentCharset, TreatReturnedNullStringAs=Undefined, TreatNullAs
=NullString] attribute DOMString charset; | 137 [MeasureAs=DocumentCharset, TreatReturnedNullStringAs=Undefined, TreatNullAs
=NullString] attribute DOMString charset; |
138 [MeasureAs=DocumentDefaultCharset, TreatReturnedNullStringAs=Undefined] read
only attribute DOMString defaultCharset; | 138 [MeasureAs=DocumentDefaultCharset, TreatReturnedNullStringAs=Undefined] read
only attribute DOMString defaultCharset; |
139 [TreatReturnedNullStringAs=Undefined] readonly attribute DOMString readyStat
e; | 139 [TreatReturnedNullStringAs=Undefined] readonly attribute DOMString readyStat
e; |
140 | 140 |
141 Element elementFromPoint([Default=Undefined] optional long x, | 141 Element elementFromPoint([Default=Undefined] optional long x, |
142 [Default=Undefined] optional long y); | 142 [Default=Undefined] optional long y); |
143 [MeasureAs=DocumentCaretRangeFromPoint] | 143 [MeasureAs=DocumentCaretRangeFromPoint] |
144 Range caretRangeFromPoint([Default=Undefined] optional long x, | 144 Range caretRangeFromPoint([Default=Undefined] optional long x, |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 attribute EventHandler onselectionchange; | 182 attribute EventHandler onselectionchange; |
183 attribute EventHandler onselectstart; | 183 attribute EventHandler onselectstart; |
184 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel; | 184 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel; |
185 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; | 185 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; |
186 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; | 186 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; |
187 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; | 187 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; |
188 attribute EventHandler onwebkitfullscreenchange; | 188 attribute EventHandler onwebkitfullscreenchange; |
189 attribute EventHandler onwebkitfullscreenerror; | 189 attribute EventHandler onwebkitfullscreenerror; |
190 attribute EventHandler onwebkitpointerlockchange; | 190 attribute EventHandler onwebkitpointerlockchange; |
191 attribute EventHandler onwebkitpointerlockerror; | 191 attribute EventHandler onwebkitpointerlockerror; |
192 [PerWorldBindings, LogActivity=SetterOnly] attribute EventHandler onwheel; | 192 [LogActivity=SetterOnly] attribute EventHandler onwheel; |
193 | 193 |
194 [RuntimeEnabled=Touch] Touch createTouch([Default=Undefined] optional Window
window, | 194 [RuntimeEnabled=Touch] Touch createTouch([Default=Undefined] optional Window
window, |
195 [Default=Undefined] optional Even
tTarget target, | 195 [Default=Undefined] optional Even
tTarget target, |
196 [Default=Undefined] optional long
identifier, | 196 [Default=Undefined] optional long
identifier, |
197 [Default=Undefined] optional doub
le pageX, | 197 [Default=Undefined] optional doub
le pageX, |
198 [Default=Undefined] optional doub
le pageY, | 198 [Default=Undefined] optional doub
le pageY, |
199 [Default=Undefined] optional doub
le screenX, | 199 [Default=Undefined] optional doub
le screenX, |
200 [Default=Undefined] optional doub
le screenY, | 200 [Default=Undefined] optional doub
le screenY, |
201 [Default=Undefined] optional doub
le webkitRadiusX, | 201 [Default=Undefined] optional doub
le webkitRadiusX, |
202 [Default=Undefined] optional doub
le webkitRadiusY, | 202 [Default=Undefined] optional doub
le webkitRadiusY, |
203 [Default=Undefined] optional floa
t webkitRotationAngle, | 203 [Default=Undefined] optional floa
t webkitRotationAngle, |
204 [Default=Undefined] optional floa
t webkitForce); | 204 [Default=Undefined] optional floa
t webkitForce); |
205 [RuntimeEnabled=Touch] TouchList createTouchList(Touch... touches); | 205 [RuntimeEnabled=Touch] TouchList createTouchList(Touch... touches); |
206 | 206 |
207 [CallWith=ScriptState, CustomElementCallbacks, RaisesException, MeasureAs=Do
cumentRegisterElement] CustomElementConstructor registerElement(DOMString name,
optional Dictionary options); | 207 [CallWith=ScriptState, CustomElementCallbacks, RaisesException, MeasureAs=Do
cumentRegisterElement] CustomElementConstructor registerElement(DOMString name,
optional Dictionary options); |
208 [CustomElementCallbacks, PerWorldBindings, LogActivity, RaisesException] Ele
ment createElement(DOMString localName, [TreatNullAs=NullString] DOMString typeE
xtension); | 208 [CustomElementCallbacks, PerWorldBindings, LogActivity, RaisesException] Ele
ment createElement(DOMString localName, [TreatNullAs=NullString] DOMString typeE
xtension); |
209 [CustomElementCallbacks, PerWorldBindings, LogActivity, RaisesException] Ele
ment createElementNS([TreatNullAs=NullString] DOMString namespaceURI, DOMString
qualifiedName, | 209 [CustomElementCallbacks, LogActivity, RaisesException] Element createElement
NS([TreatNullAs=NullString] DOMString namespaceURI, DOMString qualifiedName, |
210 [TreatNullAs=NullString] DOMString typeExtension); | 210 [TreatNullAs=NullString] DOMString typeExtension); |
211 | 211 |
212 // Page visibility API. | 212 // Page visibility API. |
213 readonly attribute DOMString visibilityState; | 213 readonly attribute DOMString visibilityState; |
214 readonly attribute boolean hidden; | 214 readonly attribute boolean hidden; |
215 | 215 |
216 // Deprecated prefixed page visibility API. | 216 // Deprecated prefixed page visibility API. |
217 // TODO(davidben): This is a property so attaching a deprecation warning res
ults in false positives when outputting | 217 // TODO(davidben): This is a property so attaching a deprecation warning res
ults in false positives when outputting |
218 // document in the console. It's possible http://crbug.com/43394 will resolv
e this. | 218 // document in the console. It's possible http://crbug.com/43394 will resolv
e this. |
219 [MeasureAs=PrefixedPageVisibility, ImplementedAs=visibilityState] readonly a
ttribute DOMString webkitVisibilityState; | 219 [MeasureAs=PrefixedPageVisibility, ImplementedAs=visibilityState] readonly a
ttribute DOMString webkitVisibilityState; |
220 [MeasureAs=PrefixedPageVisibility, ImplementedAs=hidden] readonly attribute
boolean webkitHidden; | 220 [MeasureAs=PrefixedPageVisibility, ImplementedAs=hidden] readonly attribute
boolean webkitHidden; |
221 | 221 |
222 readonly attribute HTMLScriptElement currentScript; | 222 readonly attribute HTMLScriptElement currentScript; |
223 }; | 223 }; |
224 | 224 |
225 Document implements GlobalEventHandlers; | 225 Document implements GlobalEventHandlers; |
226 Document implements ParentNode; | 226 Document implements ParentNode; |
OLD | NEW |