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; | 23 typedef (CanvasRenderingContext2D or WebGLRenderingContext) RenderingContext; |
24 | 24 |
25 // http://www.w3.org/TR/page-visibility/#VisibilityState | 25 // http://www.w3.org/TR/page-visibility/#VisibilityState |
26 enum VisibilityState { "hidden", "visible", "prerender", "unloaded" }; | 26 enum VisibilityState { "hidden", "visible", "prerender", "unloaded" }; |
27 | 27 |
28 // https://dom.spec.whatwg.org/#interface-document | 28 // https://dom.spec.whatwg.org/#interface-document |
29 | 29 |
30 // FIXME: Document should have a constructor. | |
30 [ | 31 [ |
31 TypeChecking=Unrestricted, | 32 TypeChecking=Unrestricted, |
32 ] interface Document : Node { | 33 ] interface Document : Node { |
33 readonly attribute DOMImplementation implementation; | 34 readonly attribute DOMImplementation implementation; |
34 readonly attribute DOMString URL; | 35 readonly attribute DOMString URL; |
36 // FIXME: documentURI should not be nullable. | |
35 [ImplementedAs=url] readonly attribute DOMString? documentURI; | 37 [ImplementedAs=url] readonly attribute DOMString? documentURI; |
36 readonly attribute DOMString origin; | 38 readonly attribute DOMString origin; |
37 readonly attribute DOMString compatMode; | 39 readonly attribute DOMString compatMode; |
40 // FIXME: characterSet should not be nullable. | |
38 readonly attribute DOMString? characterSet; | 41 readonly attribute DOMString? characterSet; |
39 [MeasureAs=DocumentInputEncoding, ImplementedAs=characterSet] readonly attri bute DOMString? inputEncoding; | 42 // FIXME: inputEncoding should not be nullable. |
43 [MeasureAs=DocumentInputEncoding, ImplementedAs=characterSet] readonly attri bute DOMString? inputEncoding; // legacy alias of .characterSet | |
40 readonly attribute DOMString contentType; | 44 readonly attribute DOMString contentType; |
41 | 45 |
42 readonly attribute DocumentType doctype; | 46 readonly attribute DocumentType? doctype; |
43 readonly attribute Element documentElement; | 47 readonly attribute Element? documentElement; |
44 HTMLCollection getElementsByTagName(DOMString localName); | 48 HTMLCollection getElementsByTagName(DOMString localName); |
45 HTMLCollection getElementsByTagNameNS(DOMString? namespaceURI, DOMString loc alName); | 49 HTMLCollection getElementsByTagNameNS(DOMString? namespaceURI, DOMString loc alName); |
46 HTMLCollection getElementsByClassName(DOMString classNames); | 50 HTMLCollection getElementsByClassName(DOMString classNames); |
47 | 51 |
48 [CustomElementCallbacks, PerWorldBindings, RaisesException] Element createEl ement(DOMString tagName); | 52 [CustomElementCallbacks, PerWorldBindings, RaisesException] Element createEl ement(DOMString localName); |
49 [CustomElementCallbacks, RaisesException] Element createElementNS(DOMString? namespaceURI, DOMString qualifiedName); | 53 [CustomElementCallbacks, RaisesException] Element createElementNS(DOMString? namespaceURI, DOMString qualifiedName); |
50 DocumentFragment createDocumentFragment(); | 54 DocumentFragment createDocumentFragment(); |
51 Text createTextNode(DOMString data); | 55 Text createTextNode(DOMString data); |
52 Comment createComment(DOMString data); | 56 Comment createComment(DOMString data); |
53 [RaisesException] ProcessingInstruction createProcessingInstruction(DOMStrin g target, DOMString data); | 57 [RaisesException] ProcessingInstruction createProcessingInstruction(DOMStrin g target, DOMString data); |
54 | 58 |
55 [CustomElementCallbacks, RaisesException, TypeChecking=Interface] Node impor tNode(Node node, optional boolean deep = false); | 59 [CustomElementCallbacks, RaisesException, TypeChecking=Interface] Node impor tNode(Node node, optional boolean deep = false); |
56 [RaisesException, CustomElementCallbacks, TypeChecking=Interface] Node adopt Node(Node node); | 60 [RaisesException, CustomElementCallbacks, TypeChecking=Interface] Node adopt Node(Node node); |
57 | 61 |
58 [RaisesException, MeasureAs=DocumentCreateAttribute] Attr createAttribute(DO MString name); | 62 [RaisesException, MeasureAs=DocumentCreateAttribute] Attr createAttribute(DO MString localName); |
63 // FIXME: qualifiedName should not be nullable. | |
59 [RaisesException, MeasureAs=DocumentCreateAttributeNS] Attr createAttributeN S(DOMString? namespaceURI, DOMString? qualifiedName); | 64 [RaisesException, MeasureAs=DocumentCreateAttributeNS] Attr createAttributeN S(DOMString? namespaceURI, DOMString? qualifiedName); |
60 | 65 |
61 [RaisesException] Event createEvent(DOMString eventType); | 66 [RaisesException] Event createEvent(DOMString eventType); |
62 | 67 |
63 Range createRange(); | 68 Range createRange(); |
64 | 69 |
65 // NodeFilter.SHOW_ALL = 0xFFFFFFFF | 70 // NodeFilter.SHOW_ALL = 0xFFFFFFFF |
66 [RaisesException, TypeChecking=Interface] NodeIterator createNodeIterator(No de root, | 71 [RaisesException, TypeChecking=Interface] NodeIterator createNodeIterator(No de root, |
67 op tional unsigned long whatToShow = 0xFFFFFFFF, | 72 op tional unsigned long whatToShow = 0xFFFFFFFF, |
68 op tional NodeFilter? filter = null); | 73 op tional NodeFilter? filter = null); |
69 [RaisesException, TypeChecking=Interface] TreeWalker createTreeWalker(Node r oot, | 74 [RaisesException, TypeChecking=Interface] TreeWalker createTreeWalker(Node r oot, |
70 option al unsigned long whatToShow = 0xFFFFFFFF, | 75 option al unsigned long whatToShow = 0xFFFFFFFF, |
71 option al NodeFilter? filter = null); | 76 option al NodeFilter? filter = null); |
72 | 77 |
73 // FIXME: CDATASection has been removed from the spec. crbug.com/437205 | 78 // FIXME: CDATASection has been removed from the spec. crbug.com/437205 |
74 [RaisesException, MeasureAs=DocumentCreateCDATASection] CDATASection createC DATASection(DOMString data); // Removed from DOM4. | 79 [RaisesException, MeasureAs=DocumentCreateCDATASection] CDATASection createC DATASection(DOMString data); |
75 | 80 |
76 // FIXME: xmlEncoding/xmlVersion/xmlStandalone have been removed from the sp ec. | 81 // FIXME: xmlEncoding/xmlVersion/xmlStandalone have been removed from the sp ec. |
77 [MeasureAs=DocumentXMLEncoding] readonly attribute DOMString? xmlEncoding; / / Removed from DOM4. | 82 [MeasureAs=DocumentXMLEncoding] readonly attribute DOMString? xmlEncoding; |
78 [RaisesException=Setter, MeasureAs=DocumentXMLVersion] attribute DOMString? xmlVersion; // Removed from DOM4. | 83 [RaisesException=Setter, MeasureAs=DocumentXMLVersion] attribute DOMString? xmlVersion; |
79 [RaisesException=Setter, MeasureAs=DocumentXMLStandalone] attribute boolean xmlStandalone; // Removed from DOM4. | 84 [RaisesException=Setter, MeasureAs=DocumentXMLStandalone] attribute boolean xmlStandalone; |
80 | 85 |
81 // https://dom.spec.whatwg.org/#interface-nonelementparentnode | 86 // https://dom.spec.whatwg.org/#interface-nonelementparentnode |
82 | 87 |
83 [PerWorldBindings] Element getElementById(DOMString elementId); | 88 [PerWorldBindings] Element? getElementById(DOMString elementId); |
84 | 89 |
85 // https://html.spec.whatwg.org/#the-document-object | 90 // https://html.spec.whatwg.org/#the-document-object |
86 | 91 |
87 // resource metadata management | 92 // resource metadata management |
88 [PutForwards=href, Unforgeable] readonly attribute Location location; | 93 [PutForwards=href, Unforgeable] readonly attribute Location? location; |
89 [TreatNullAs=NullString, RaisesException=Setter] attribute DOMStrin g domain; | 94 // FIXME: domain should not have [TreatNullAs=NullString]. |
haraken
2015/02/27 07:54:12
Jens: I'm sorry for asking similar questions repea
Jens Widell
2015/02/27 08:09:42
For an attribute, the difference is what happens i
| |
95 [TreatNullAs=NullString, RaisesException=Setter] attribute DOMString domain; | |
90 readonly attribute DOMString referrer; | 96 readonly attribute DOMString referrer; |
91 [TreatNullAs=NullString, RaisesException] attribute DOMString cooki e; | 97 // FIXME: cookie should not have [TreatNullAs=NullString]. |
98 [TreatNullAs=NullString, RaisesException] attribute DOMString cookie; | |
92 readonly attribute DOMString lastModified; | 99 readonly attribute DOMString lastModified; |
100 // FIXME: readyState should use the enum DocumentReadyState. | |
101 // FIXME: readyState should not have [TreatReturnedNullStringAs=Undefined]. | |
93 [TreatReturnedNullStringAs=Undefined] readonly attribute DOMString readyStat e; | 102 [TreatReturnedNullStringAs=Undefined] readonly attribute DOMString readyStat e; |
94 | 103 |
95 // DOM tree accessors | 104 // DOM tree accessors |
96 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMStrin g title; | 105 // FIXME: title and dir should not have [TreatNullAs=NullString]. |
97 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMStrin g dir; | 106 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString title; |
107 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString dir; | |
98 [RaisesException=Setter, CustomElementCallbacks, PerWorldBindings, TypeCheck ing=Interface, ExposeJSAccessors] attribute HTMLElement? body; | 108 [RaisesException=Setter, CustomElementCallbacks, PerWorldBindings, TypeCheck ing=Interface, ExposeJSAccessors] attribute HTMLElement? body; |
99 readonly attribute HTMLHeadElement head; | 109 readonly attribute HTMLHeadElement? head; |
100 readonly attribute HTMLCollection images; | 110 readonly attribute HTMLCollection images; |
101 readonly attribute HTMLCollection embeds; | 111 readonly attribute HTMLCollection embeds; |
102 [ImplementedAs=embeds] readonly attribute HTMLCollection plugins; | 112 [ImplementedAs=embeds] readonly attribute HTMLCollection plugins; |
103 readonly attribute HTMLCollection links; | 113 readonly attribute HTMLCollection links; |
104 readonly attribute HTMLCollection forms; | 114 readonly attribute HTMLCollection forms; |
105 readonly attribute HTMLCollection scripts; | 115 readonly attribute HTMLCollection scripts; |
106 [PerWorldBindings] NodeList getElementsByName(DOMString elementName); | 116 [PerWorldBindings] NodeList getElementsByName(DOMString elementName); |
107 readonly attribute HTMLScriptElement currentScript; | 117 readonly attribute HTMLScriptElement? currentScript; |
118 | |
119 // dynamic markup insertion | |
120 // FIXME: open(), close(), write() and writeln() are on HTMLDocument. | |
108 | 121 |
109 // user interaction | 122 // user interaction |
110 [ImplementedAs=domWindow] readonly attribute Window defaultView; | 123 [ImplementedAs=domWindow] readonly attribute Window? defaultView; |
111 readonly attribute Element activeElement; | 124 readonly attribute Element? activeElement; |
112 boolean hasFocus(); | 125 boolean hasFocus(); |
113 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMStrin g designMode; | 126 // FIXME: designMode should not have [TreatNullAs=NullString]. |
114 [CustomElementCallbacks] | 127 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString designM ode; |
115 boolean execCommand(DOMString command, optional boolean showUI = false, opti onal DOMString value = ""); | 128 [CustomElementCallbacks] boolean execCommand(DOMString commandId, optional b oolean showUI = false, optional DOMString value = ""); |
116 boolean queryCommandEnabled(DOMString command); | 129 boolean queryCommandEnabled(DOMString commandId); |
117 boolean queryCommandIndeterm(DOMString command); | 130 boolean queryCommandIndeterm(DOMString commandId); |
118 boolean queryCommandState(DOMString command); | 131 boolean queryCommandState(DOMString commandId); |
119 boolean queryCommandSupported(DOMString command); | 132 boolean queryCommandSupported(DOMString commandId); |
120 DOMString queryCommandValue(DOMString command); | 133 DOMString queryCommandValue(DOMString commandId); |
121 | 134 |
122 // special event handler IDL attributes that only apply to Document objects | 135 // special event handler IDL attributes that only apply to Document objects |
136 // FIXME: onreadystatechange should use [LenientThis]. | |
123 attribute EventHandler onreadystatechange; | 137 attribute EventHandler onreadystatechange; |
124 | 138 |
125 // https://html.spec.whatwg.org/#Document-partial | 139 // https://html.spec.whatwg.org/#Document-partial |
126 | 140 |
141 // FIXME: *Color are on HTMLDocument. | |
142 | |
127 readonly attribute HTMLCollection anchors; | 143 readonly attribute HTMLCollection anchors; |
128 readonly attribute HTMLCollection applets; | 144 readonly attribute HTMLCollection applets; |
129 | 145 |
146 // FIXME: clear(), captureEvents(), releaseEvents() and all are on HTMLDocum ent. | |
147 | |
130 // http://dev.w3.org/csswg/cssom/#extensions-to-the-document-interface | 148 // http://dev.w3.org/csswg/cssom/#extensions-to-the-document-interface |
131 readonly attribute StyleSheetList styleSheets; | 149 readonly attribute StyleSheetList styleSheets; |
132 attribute DOMString? selectedStylesheetSet; | 150 attribute DOMString? selectedStylesheetSet; |
133 readonly attribute DOMString? preferredStylesheetSet; | 151 readonly attribute DOMString? preferredStylesheetSet; |
134 | 152 |
135 // http://dev.w3.org/csswg/cssom-view/#extensions-to-the-document-interface | 153 // http://dev.w3.org/csswg/cssom-view/#extensions-to-the-document-interface |
136 Element elementFromPoint(long x, long y); | 154 // FIXME: The x and y arguments should be of type double. |
137 Element[] elementsFromPoint(long x, long y); | 155 Element? elementFromPoint(long x, long y); |
156 sequence<Element> elementsFromPoint(long x, long y); | |
haraken
2015/02/27 07:54:12
Jens: There is no difference between [] and a sequ
Jens Widell
2015/02/27 08:09:42
There's no difference in our code generation, as f
| |
138 | 157 |
139 // http://w3c.github.io/selection-api/#extensions-to-document-interface | 158 // http://w3c.github.io/selection-api/#extensions-to-document-interface |
140 Selection getSelection(); | 159 Selection? getSelection(); |
141 | 160 |
142 // https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#extensions -to-the-document-interface | 161 // https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#extensions -to-the-document-interface |
143 attribute EventHandler onpointerlockchange; | 162 attribute EventHandler onpointerlockchange; |
144 attribute EventHandler onpointerlockerror; | 163 attribute EventHandler onpointerlockerror; |
145 [MeasureAs=DocumentPointerLockElement] readonly attribute Element pointerLoc kElement; | 164 [MeasureAs=DocumentPointerLockElement] readonly attribute Element? pointerLo ckElement; |
146 [MeasureAs=DocumentExitPointerLock] void exitPointerLock(); | 165 [MeasureAs=DocumentExitPointerLock] void exitPointerLock(); |
147 | 166 |
148 // http://www.w3.org/TR/touch-events/#extensions-to-the-document-interface | 167 // http://www.w3.org/TR/touch-events/#extensions-to-the-document-interface |
168 // FIXME: The arguments should not be optional. | |
169 // FIXME: The webkit-prefixed arguments are not in the spec. | |
149 [RuntimeEnabled=Touch] Touch createTouch([Default=Undefined] optional Window window, | 170 [RuntimeEnabled=Touch] Touch createTouch([Default=Undefined] optional Window window, |
150 [Default=Undefined] optional EventT arget target, | 171 [Default=Undefined] optional EventT arget target, |
151 [Default=Undefined] optional long i dentifier, | 172 [Default=Undefined] optional long i dentifier, |
152 [Default=Undefined] optional unrest ricted double pageX, | 173 [Default=Undefined] optional unrest ricted double pageX, |
153 [Default=Undefined] optional unrest ricted double pageY, | 174 [Default=Undefined] optional unrest ricted double pageY, |
154 [Default=Undefined] optional unrest ricted double screenX, | 175 [Default=Undefined] optional unrest ricted double screenX, |
155 [Default=Undefined] optional unrest ricted double screenY, | 176 [Default=Undefined] optional unrest ricted double screenY, |
156 [Default=Undefined] optional unrest ricted double webkitRadiusX, | 177 [Default=Undefined] optional unrest ricted double webkitRadiusX, |
157 [Default=Undefined] optional unrest ricted double webkitRadiusY, | 178 [Default=Undefined] optional unrest ricted double webkitRadiusY, |
158 [Default=Undefined] optional unrest ricted float webkitRotationAngle, | 179 [Default=Undefined] optional unrest ricted float webkitRotationAngle, |
159 [Default=Undefined] optional unrest ricted float webkitForce); | 180 [Default=Undefined] optional unrest ricted float webkitForce); |
160 [RuntimeEnabled=Touch] TouchList createTouchList(Touch... touches); | 181 [RuntimeEnabled=Touch] TouchList createTouchList(Touch... touches); |
161 | 182 |
183 // FIXME: The spec doesn't define these event handler attributes. | |
162 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; | 184 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; |
163 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; | 185 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; |
164 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; | 186 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; |
165 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel; | 187 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel; |
166 | 188 |
167 // http://w3c.github.io/webcomponents/spec/custom/#extensions-to-document-in terface-to-register | 189 // http://w3c.github.io/webcomponents/spec/custom/#extensions-to-document-in terface-to-register |
168 [CallWith=ScriptState, CustomElementCallbacks, RaisesException, MeasureAs=Do cumentRegisterElement] CustomElementConstructor registerElement(DOMString name, optional ElementRegistrationOptions options); | 190 // FIXME: The registerElement return type should be Function. |
191 [CallWith=ScriptState, CustomElementCallbacks, RaisesException, MeasureAs=Do cumentRegisterElement] CustomElementConstructor registerElement(DOMString type, optional ElementRegistrationOptions options); | |
169 | 192 |
170 // http://w3c.github.io/webcomponents/spec/custom/#extensions-to-document-in terface-to-instantiate | 193 // http://w3c.github.io/webcomponents/spec/custom/#extensions-to-document-in terface-to-instantiate |
194 // FIXME: The typeExtension arguments should not be nullable. | |
171 [CustomElementCallbacks, PerWorldBindings, RaisesException] Element createEl ement(DOMString localName, DOMString? typeExtension); | 195 [CustomElementCallbacks, PerWorldBindings, RaisesException] Element createEl ement(DOMString localName, DOMString? typeExtension); |
172 [CustomElementCallbacks, RaisesException] Element createElementNS(DOMString? namespaceURI, DOMString qualifiedName, DOMString? typeExtension); | 196 [CustomElementCallbacks, RaisesException] Element createElementNS(DOMString? namespaceURI, DOMString qualifiedName, DOMString? typeExtension); |
173 | 197 |
174 // http://www.w3.org/TR/page-visibility/#sec-document-interface | 198 // http://www.w3.org/TR/page-visibility/#sec-document-interface |
175 readonly attribute boolean hidden; | 199 readonly attribute boolean hidden; |
176 readonly attribute VisibilityState visibilityState; | 200 readonly attribute VisibilityState visibilityState; |
177 | 201 |
178 // Non-standard APIs | 202 // Non-standard APIs |
179 [MeasureAs=DocumentGetOverrideStyle] CSSStyleDeclaration getOverrideStyle(); | 203 [MeasureAs=DocumentGetOverrideStyle] CSSStyleDeclaration getOverrideStyle(); |
180 [MeasureAs=DocumentCharset, TreatReturnedNullStringAs=Undefined, TreatNullAs =NullString] attribute DOMString charset; | 204 [MeasureAs=DocumentCharset, TreatReturnedNullStringAs=Undefined, TreatNullAs =NullString] attribute DOMString charset; |
181 [MeasureAs=DocumentDefaultCharset, TreatReturnedNullStringAs=Undefined] read only attribute DOMString defaultCharset; | 205 [MeasureAs=DocumentDefaultCharset, TreatReturnedNullStringAs=Undefined] read only attribute DOMString defaultCharset; |
182 [MeasureAs=DocumentCaretRangeFromPoint] | 206 [MeasureAs=DocumentCaretRangeFromPoint] Range caretRangeFromPoint([Default=U ndefined] optional long x, [Default=Undefined] optional long y); |
183 Range caretRangeFromPoint([Default=Undefined] optional long x, | |
184 [Default=Undefined] optional long y); | |
185 [MeasureAs=DocumentGetCSSCanvasContext] RenderingContext getCSSCanvasContext (DOMString contextId, DOMString name, long width, long height); | 207 [MeasureAs=DocumentGetCSSCanvasContext] RenderingContext getCSSCanvasContext (DOMString contextId, DOMString name, long width, long height); |
186 | 208 |
187 // Deprecated prefixed page visibility API. | 209 // Deprecated prefixed page visibility API. |
188 // TODO(davidben): This is a property so attaching a deprecation warning res ults in false positives when outputting | 210 // TODO(davidben): This is a property so attaching a deprecation warning res ults in false positives when outputting |
189 // document in the console. It's possible http://crbug.com/43394 will resolv e this. | 211 // document in the console. It's possible http://crbug.com/43394 will resolv e this. |
190 [MeasureAs=PrefixedPageVisibility, ImplementedAs=visibilityState] readonly a ttribute DOMString webkitVisibilityState; | 212 [MeasureAs=PrefixedPageVisibility, ImplementedAs=visibilityState] readonly a ttribute DOMString webkitVisibilityState; |
191 [MeasureAs=PrefixedPageVisibility, ImplementedAs=hidden] readonly attribute boolean webkitHidden; | 213 [MeasureAs=PrefixedPageVisibility, ImplementedAs=hidden] readonly attribute boolean webkitHidden; |
192 | 214 |
193 // Event handler attributes | 215 // Event handler attributes |
194 attribute EventHandler onbeforecopy; | 216 attribute EventHandler onbeforecopy; |
195 attribute EventHandler onbeforecut; | 217 attribute EventHandler onbeforecut; |
196 attribute EventHandler onbeforepaste; | 218 attribute EventHandler onbeforepaste; |
197 attribute EventHandler oncopy; | 219 attribute EventHandler oncopy; |
198 attribute EventHandler oncut; | 220 attribute EventHandler oncut; |
199 attribute EventHandler onpaste; | 221 attribute EventHandler onpaste; |
200 attribute EventHandler onsearch; | 222 attribute EventHandler onsearch; |
201 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa ndler onsecuritypolicyviolation; | 223 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa ndler onsecuritypolicyviolation; |
202 attribute EventHandler onselectionchange; | 224 attribute EventHandler onselectionchange; |
203 attribute EventHandler onselectstart; | 225 attribute EventHandler onselectstart; |
204 attribute EventHandler onwheel; | 226 attribute EventHandler onwheel; |
205 }; | 227 }; |
206 | 228 |
207 Document implements GlobalEventHandlers; | 229 Document implements GlobalEventHandlers; |
208 Document implements ParentNode; | 230 Document implements ParentNode; |
OLD | NEW |