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, |
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 * Library General Public License for more details. | 13 * Library General Public License for more details. |
14 * | 14 * |
15 * You should have received a copy of the GNU Library General Public License | 15 * You should have received a copy of the GNU Library General Public License |
16 * along with this library; see the file COPYING.LIB. If not, write to | 16 * along with this library; see the file COPYING.LIB. If not, write to |
17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
18 * Boston, MA 02110-1301, USA. | 18 * Boston, MA 02110-1301, USA. |
19 */ | 19 */ |
20 | 20 |
21 callback CustomElementConstructor = Element (); | 21 callback CustomElementConstructor = Element (); |
22 | 22 |
| 23 typedef (CanvasRenderingContext2D or WebGLRenderingContext) RenderingContext; |
| 24 |
23 [ | 25 [ |
24 SpecialWrapFor=HTMLDocument|XMLDocument | 26 SpecialWrapFor=HTMLDocument|XMLDocument |
25 ] interface Document : Node { | 27 ] interface Document : Node { |
26 | 28 |
27 // DOM Level 1 Core | 29 // DOM Level 1 Core |
28 readonly attribute DocumentType doctype; | 30 readonly attribute DocumentType doctype; |
29 readonly attribute DOMImplementation implementation; | 31 readonly attribute DOMImplementation implementation; |
30 readonly attribute Element documentElement; | 32 readonly attribute Element documentElement; |
31 | 33 |
32 [CustomElementCallbacks, PerWorldBindings, ActivityLogging=ForIsolatedWorlds
, RaisesException] Element createElement(DOMString tagName); | 34 [CustomElementCallbacks, PerWorldBindings, LogActivity, RaisesException] Ele
ment createElement(DOMString tagName); |
33 DocumentFragment createDocumentFragment(); | 35 DocumentFragment createDocumentFragment(); |
34 [PerWorldBindings] Text createTextNode(DOMString data); | 36 Text createTextNode(DOMString data); |
35 Comment createComment(DOMString data); | 37 Comment createComment(DOMString data); |
36 [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. |
37 [RaisesException] ProcessingInstruction createProcessingInstruction(DOMStrin
g target, DOMString data); | 39 [RaisesException] ProcessingInstruction createProcessingInstruction(DOMStrin
g target, DOMString data); |
38 [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. |
39 [PerWorldBindings] HTMLCollection getElementsByTagName(DOMString localName); | 41 [DartNoAutoScope] HTMLCollection getElementsByTagName(DOMString localName); |
40 | 42 |
41 // Introduced in DOM Level 2: | 43 // Introduced in DOM Level 2: |
42 | 44 |
43 [CustomElementCallbacks, PerWorldBindings, ActivityLogging=ForIsolatedWorlds
, RaisesException] Node importNode(Node node, optional boolean deep); | 45 [CustomElementCallbacks, LogActivity, RaisesException] Node importNode(Node
node, optional boolean deep); |
44 [CustomElementCallbacks, PerWorldBindings, ActivityLogging=ForIsolatedWorlds
, RaisesException] Element createElementNS([TreatNullAs=NullString] DOMString na
mespaceURI, 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, |
| 48
[TreatNullAs=NullString,Default=Undefined] optional DOMString qualifiedName);
// Removed from DOM4. |
45 HTMLCollection getElementsByTagNameNS([TreatNullAs=NullString] DOMString nam
espaceURI, DOMString localName); | 49 HTMLCollection getElementsByTagNameNS([TreatNullAs=NullString] DOMString nam
espaceURI, DOMString localName); |
46 [PerWorldBindings] Element getElementById(DOMString elementId); | 50 [PerWorldBindings, DartNoAutoScope] Element getElementById(DOMString element
Id); |
47 | 51 |
48 // DOM Level 3 Core | 52 // DOM Level 3 Core |
49 | 53 |
50 [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. |
51 | 55 |
52 [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. |
53 [TreatReturnedNullStringAs=Null, TreatNullAs=NullString, RaisesException=Set
ter, MeasureAs=DocumentXMLVersion] attribute DOMString xmlVersion; // Removed fr
om DOM4. | 57 [TreatReturnedNullStringAs=Null, TreatNullAs=NullString, RaisesException=Set
ter, MeasureAs=DocumentXMLVersion] attribute DOMString xmlVersion; // Removed fr
om DOM4. |
54 [RaisesException=Setter, MeasureAs=DocumentXMLStandalone] attribute boolean
xmlStandalone; // Removed from DOM4. | 58 [RaisesException=Setter, MeasureAs=DocumentXMLStandalone] attribute boolean
xmlStandalone; // Removed from DOM4. |
55 | 59 |
56 [RaisesException, CustomElementCallbacks] Node adoptNode(Node node); | 60 [RaisesException, CustomElementCallbacks] Node adoptNode(Node node); |
57 | 61 |
58 [TreatReturnedNullStringAs=Null, ImplementedAs=url] readonly attribute DOMSt
ring documentURI; | 62 [TreatReturnedNullStringAs=Null, ImplementedAs=url] readonly attribute DOMSt
ring documentURI; |
59 | 63 |
60 // DOM Level 2 Events (DocumentEvents interface) | 64 // DOM Level 2 Events (DocumentEvents interface) |
61 | 65 |
62 [RaisesException] Event createEvent(optional DOMString eventType); | 66 [RaisesException] Event createEvent(DOMString eventType); |
63 | 67 |
64 // DOM Level 2 Traversal and Range (DocumentRange interface) | 68 // DOM Level 2 Traversal and Range (DocumentRange interface) |
65 | 69 |
66 Range createRange(); | 70 Range createRange(); |
67 | 71 |
68 // DOM Level 2 Traversal and Range (DocumentTraversal interface) | 72 // DOM Level 2 Traversal and Range (DocumentTraversal interface) |
69 | 73 |
70 [RaisesException] NodeIterator createNodeIterator(Node root, | 74 [RaisesException] NodeIterator createNodeIterator(Node root, |
71 optional unsigned long wha
tToShow, | 75 optional unsigned long wha
tToShow, |
72 optional NodeFilter filter
); | 76 optional NodeFilter filter
); |
73 [RaisesException] TreeWalker createTreeWalker(Node root, | 77 [RaisesException] TreeWalker createTreeWalker(Node root, |
74 optional unsigned long whatToS
how, | 78 optional unsigned long whatToS
how, |
75 optional NodeFilter filter); | 79 optional NodeFilter filter); |
76 | 80 |
77 // DOM Level 2 Abstract Views (DocumentView interface) | 81 // DOM Level 2 Abstract Views (DocumentView interface) |
78 | 82 |
79 [ImplementedAs=executingWindow] readonly attribute Window defaultView; | 83 [ImplementedAs=executingWindow] readonly attribute Window defaultView; |
80 | 84 |
81 // DOM Level 2 Style (DocumentStyle interface) | 85 // DOM Level 2 Style (DocumentStyle interface) |
82 | 86 |
83 readonly attribute StyleSheetList styleSheets; | 87 readonly attribute StyleSheetList styleSheets; |
84 | 88 |
85 // DOM Level 2 Style (DocumentCSS interface) | 89 // DOM Level 2 Style (DocumentCSS interface) |
86 | 90 |
87 CSSStyleDeclaration getOverrideStyle([Default=Undefined] optional Element e
lement, | 91 CSSStyleDeclaration getOverrideStyle([Default=Undefined] optional Element e
lement, |
88 [Default=Undefined] opti
onal DOMString pseudoElement); | 92 [Default=Undefined] opti
onal DOMString pseudoElement); |
89 | 93 |
| 94 // DOM 4 |
| 95 readonly attribute DOMString contentType; |
| 96 |
90 // Common extensions | 97 // Common extensions |
91 [CustomElementCallbacks] | 98 [CustomElementCallbacks] |
92 boolean execCommand([Default=Undefined] optional DOMString comman
d, | 99 boolean execCommand([Default=Undefined] optional DOMString comman
d, |
93 [Default=Undefined] optional boolean userInte
rface, | 100 [Default=Undefined] optional boolean userInte
rface, |
94 [TreatNullAs=NullString, TreatUndefinedAs=Nul
lString,Default=Undefined] optional DOMString value); | 101 [TreatNullAs=NullString, TreatUndefinedAs=Nul
lString,Default=Undefined] optional DOMString value); |
95 | 102 |
96 boolean queryCommandEnabled([Default=Undefined] optional DOMStrin
g command); | 103 boolean queryCommandEnabled([Default=Undefined] optional DOMStrin
g command); |
97 boolean queryCommandIndeterm([Default=Undefined] optional DOMStri
ng command); | 104 boolean queryCommandIndeterm([Default=Undefined] optional DOMStri
ng command); |
98 boolean queryCommandState([Default=Undefined] optional DOMString
command); | 105 boolean queryCommandState([Default=Undefined] optional DOMString
command); |
99 boolean queryCommandSupported([Default=Undefined] optional DOMStr
ing command); | 106 boolean queryCommandSupported([Default=Undefined] optional DOMStr
ing command); |
100 DOMString queryCommandValue([Default=Undefined] optional DOMString
command); | 107 DOMString queryCommandValue([Default=Undefined] optional DOMString
command); |
101 | 108 |
102 // Moved down from HTMLDocument | 109 // Moved down from HTMLDocument |
103 | 110 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMStrin
g dir; |
| 111 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMStrin
g designMode; |
104 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMStrin
g title; | 112 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMStrin
g title; |
105 readonly attribute DOMString referrer; | 113 readonly attribute DOMString referrer; |
106 [TreatNullAs=NullString, RaisesException=Setter] attribute DOMStrin
g domain; | 114 [TreatNullAs=NullString, RaisesException=Setter] attribute DOMStrin
g domain; |
107 readonly attribute DOMString URL; | 115 readonly attribute DOMString URL; |
108 | 116 |
109 [TreatNullAs=NullString, RaisesException] attribute DOMString cooki
e; | 117 [TreatNullAs=NullString, RaisesException] attribute DOMString cooki
e; |
110 | 118 |
111 [RaisesException=Setter, CustomElementCallbacks, PerWorldBindings]
attribute HTMLElement body; | 119 [RaisesException=Setter, CustomElementCallbacks, PerWorldBindings,
DartNoAutoScope] attribute HTMLElement body; |
112 | 120 |
113 readonly attribute HTMLHeadElement head; | 121 readonly attribute HTMLHeadElement head; |
114 readonly attribute HTMLCollection images; | 122 readonly attribute HTMLCollection images; |
115 readonly attribute HTMLCollection applets; | 123 readonly attribute HTMLCollection applets; |
| 124 readonly attribute HTMLCollection embeds; |
| 125 [ImplementedAs=embeds] readonly attribute HTMLCollection plugins; |
116 readonly attribute HTMLCollection links; | 126 readonly attribute HTMLCollection links; |
117 readonly attribute HTMLCollection forms; | 127 readonly attribute HTMLCollection forms; |
| 128 readonly attribute HTMLCollection scripts; |
118 readonly attribute HTMLCollection anchors; | 129 readonly attribute HTMLCollection anchors; |
119 readonly attribute DOMString lastModified; | 130 readonly attribute DOMString lastModified; |
120 | 131 |
121 [PerWorldBindings] NodeList getElementsByName([Default=Undefined] optional D
OMString elementName); | 132 [PerWorldBindings, DartNoAutoScope] NodeList getElementsByName([Default=Unde
fined] optional DOMString elementName); |
122 | 133 |
123 [PerWorldBindings, ActivityLogging=ForIsolatedWorlds, PutForwards=href] read
only attribute Location location; | 134 [LogActivity, PutForwards=href] readonly attribute Location location; |
124 | 135 |
125 // IE extensions | 136 // IE extensions |
126 [MeasureAs=DocumentCharset, TreatReturnedNullStringAs=Undefined, TreatNullAs
=NullString] attribute DOMString charset; | 137 [MeasureAs=DocumentCharset, TreatReturnedNullStringAs=Undefined, TreatNullAs
=NullString] attribute DOMString charset; |
127 [MeasureAs=DocumentCharset, TreatReturnedNullStringAs=Undefined] readonly at
tribute DOMString defaultCharset; | 138 [MeasureAs=DocumentDefaultCharset, TreatReturnedNullStringAs=Undefined] read
only attribute DOMString defaultCharset; |
128 [TreatReturnedNullStringAs=Undefined] readonly attribute DOMString readyStat
e; | 139 [TreatReturnedNullStringAs=Undefined] readonly attribute DOMString readyStat
e; |
129 | 140 |
130 Element elementFromPoint([Default=Undefined] optional long x, | 141 Element elementFromPoint([Default=Undefined] optional long x, |
131 [Default=Undefined] optional long y); | 142 [Default=Undefined] optional long y); |
| 143 [MeasureAs=DocumentCaretRangeFromPoint] |
132 Range caretRangeFromPoint([Default=Undefined] optional long x, | 144 Range caretRangeFromPoint([Default=Undefined] optional long x, |
133 [Default=Undefined] optional long y); | 145 [Default=Undefined] optional long y); |
134 | 146 |
135 // Mozilla extensions | 147 // Mozilla extensions |
136 Selection getSelection(); | 148 Selection getSelection(); |
137 [TreatReturnedNullStringAs=Null] readonly attribute DOMString characterSet; | 149 [TreatReturnedNullStringAs=Null] readonly attribute DOMString characterSet; |
138 | 150 |
139 // WebKit extensions | 151 // WebKit extensions |
140 | 152 |
141 [TreatReturnedNullStringAs=Null] readonly attribute DOMString preferredStyle
sheetSet; | 153 [TreatReturnedNullStringAs=Null] readonly attribute DOMString preferredStyle
sheetSet; |
142 [TreatReturnedNullStringAs=Null, TreatNullAs=NullString] attribute
DOMString selectedStylesheetSet; | 154 [TreatReturnedNullStringAs=Null, TreatNullAs=NullString] attribute DOMString
selectedStylesheetSet; |
143 | 155 |
144 CanvasRenderingContext getCSSCanvasContext(DOMString contextId, DOMString na
me, long width, long height); | 156 [MeasureAs=DocumentGetCSSCanvasContext] RenderingContext getCSSCanvasContext
(DOMString contextId, DOMString name, long width, long height); |
145 | 157 |
146 // HTML 5 | 158 // HTML 5 |
147 HTMLCollection getElementsByClassName(DOMString classNames); | 159 HTMLCollection getElementsByClassName(DOMString classNames); |
148 readonly attribute Element activeElement; | 160 readonly attribute Element activeElement; |
149 boolean hasFocus(); | 161 boolean hasFocus(); |
150 | 162 |
151 readonly attribute DOMString compatMode; | 163 readonly attribute DOMString compatMode; |
152 | 164 |
153 // NodeSelector - Selector API | 165 [MeasureAs=DocumentExitPointerLock] void exitPointerLock(); |
154 [RaisesException] Element querySelector(DOMString selectors); | 166 [MeasureAs=DocumentPointerLockElement] readonly attribute Element pointerLoc
kElement; |
155 [RaisesException] NodeList querySelectorAll(DOMString selectors); | 167 [MeasureAs=PrefixedDocumentExitPointerLock, ImplementedAs=exitPointerLock] v
oid webkitExitPointerLock(); |
156 | 168 [MeasureAs=PrefixedDocumentPointerLockElement, ImplementedAs=pointerLockElem
ent] readonly attribute Element webkitPointerLockElement; |
157 void webkitExitPointerLock(); | |
158 readonly attribute Element webkitPointerLockElement; | |
159 | 169 |
160 // Event handler attributes | 170 // Event handler attributes |
161 attribute EventHandler onbeforecopy; | 171 attribute EventHandler onbeforecopy; |
162 attribute EventHandler onbeforecut; | 172 attribute EventHandler onbeforecut; |
163 attribute EventHandler onbeforepaste; | 173 attribute EventHandler onbeforepaste; |
164 attribute EventHandler oncopy; | 174 attribute EventHandler oncopy; |
165 attribute EventHandler oncut; | 175 attribute EventHandler oncut; |
166 attribute EventHandler onpaste; | 176 attribute EventHandler onpaste; |
| 177 attribute EventHandler onpointerlockchange; |
| 178 attribute EventHandler onpointerlockerror; |
167 attribute EventHandler onreadystatechange; | 179 attribute EventHandler onreadystatechange; |
168 attribute EventHandler onsearch; | 180 attribute EventHandler onsearch; |
169 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa
ndler onsecuritypolicyviolation; | 181 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa
ndler onsecuritypolicyviolation; |
170 attribute EventHandler onselectionchange; | 182 attribute EventHandler onselectionchange; |
171 attribute EventHandler onselectstart; | 183 attribute EventHandler onselectstart; |
172 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel; | 184 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel; |
173 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; | 185 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; |
174 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; | 186 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; |
175 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; | 187 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; |
176 attribute EventHandler onwebkitfullscreenchange; | 188 attribute EventHandler onwebkitfullscreenchange; |
177 attribute EventHandler onwebkitfullscreenerror; | 189 attribute EventHandler onwebkitfullscreenerror; |
178 attribute EventHandler onwebkitpointerlockchange; | 190 attribute EventHandler onwebkitpointerlockchange; |
179 attribute EventHandler onwebkitpointerlockerror; | 191 attribute EventHandler onwebkitpointerlockerror; |
180 [PerWorldBindings, ActivityLogging=SetterForIsolatedWorlds] attribute EventH
andler onwheel; | 192 [LogActivity=SetterOnly] attribute EventHandler onwheel; |
181 | 193 |
182 [RuntimeEnabled=Touch] Touch createTouch([Default=Undefined] optional Window
window, | 194 [RuntimeEnabled=Touch] Touch createTouch([Default=Undefined] optional Window
window, |
183 [Default=Undefined] optional Even
tTarget target, | 195 [Default=Undefined] optional Even
tTarget target, |
184 [Default=Undefined] optional long
identifier, | 196 [Default=Undefined] optional long
identifier, |
185 [Default=Undefined] optional long
pageX, | 197 [Default=Undefined] optional doub
le pageX, |
186 [Default=Undefined] optional long
pageY, | 198 [Default=Undefined] optional doub
le pageY, |
187 [Default=Undefined] optional long
screenX, | 199 [Default=Undefined] optional doub
le screenX, |
188 [Default=Undefined] optional long
screenY, | 200 [Default=Undefined] optional doub
le screenY, |
189 [Default=Undefined] optional long
webkitRadiusX, | 201 [Default=Undefined] optional doub
le webkitRadiusX, |
190 [Default=Undefined] optional long
webkitRadiusY, | 202 [Default=Undefined] optional doub
le webkitRadiusY, |
191 [Default=Undefined] optional floa
t webkitRotationAngle, | 203 [Default=Undefined] optional floa
t webkitRotationAngle, |
192 [Default=Undefined] optional floa
t webkitForce); | 204 [Default=Undefined] optional floa
t webkitForce); |
193 [RuntimeEnabled=Touch] TouchList createTouchList(Touch... touches); | 205 [RuntimeEnabled=Touch] TouchList createTouchList(Touch... touches); |
194 | 206 |
195 [CallWith=ScriptState, CustomElementCallbacks, RaisesException] CustomElemen
tConstructor registerElement(DOMString name, optional Dictionary options); | 207 [CallWith=ScriptState, CustomElementCallbacks, RaisesException, MeasureAs=Do
cumentRegisterElement] CustomElementConstructor registerElement(DOMString name,
optional Dictionary options); |
196 [CustomElementCallbacks, PerWorldBindings, ActivityLogging=ForIsolatedWorlds
, RaisesException] Element createElement(DOMString localName, [TreatNullAs=NullS
tring] DOMString typeExtension); | 208 [CustomElementCallbacks, PerWorldBindings, LogActivity, RaisesException, Dar
tCustom] Element createElement(DOMString localName, [TreatNullAs=NullString] DOM
String typeExtension); |
197 [CustomElementCallbacks, PerWorldBindings, ActivityLogging=ForIsolatedWorlds
, RaisesException] Element createElementNS([TreatNullAs=NullString] DOMString na
mespaceURI, DOMString qualifiedName, | 209 [CustomElementCallbacks, LogActivity, RaisesException, DartCustom] Element c
reateElementNS([TreatNullAs=NullString] DOMString namespaceURI, DOMString qualif
iedName, |
198 [TreatNullAs=NullString] DOMString typeExtension); | 210 [TreatNullAs=NullString] DOMString typeExtension); |
199 | 211 |
200 // Page visibility API. | 212 // Page visibility API. |
201 readonly attribute DOMString visibilityState; | 213 readonly attribute DOMString visibilityState; |
202 readonly attribute boolean hidden; | 214 readonly attribute boolean hidden; |
203 | 215 |
204 // Deprecated prefixed page visibility API. | 216 // Deprecated prefixed page visibility API. |
205 // 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 |
206 // 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. |
207 [MeasureAs=PrefixedPageVisibility, ImplementedAs=visibilityState] readonly a
ttribute DOMString webkitVisibilityState; | 219 [MeasureAs=PrefixedPageVisibility, ImplementedAs=visibilityState] readonly a
ttribute DOMString webkitVisibilityState; |
208 [MeasureAs=PrefixedPageVisibility, ImplementedAs=hidden] readonly attribute
boolean webkitHidden; | 220 [MeasureAs=PrefixedPageVisibility, ImplementedAs=hidden] readonly attribute
boolean webkitHidden; |
209 | 221 |
210 readonly attribute HTMLScriptElement currentScript; | 222 readonly attribute HTMLScriptElement currentScript; |
211 }; | 223 }; |
212 | 224 |
213 Document implements GlobalEventHandlers; | 225 Document implements GlobalEventHandlers; |
214 Document implements ParentNode; | 226 Document implements ParentNode; |
215 | |
OLD | NEW |