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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
168 [Default=Undefined] optional unrestricted float rotationAngle, | 168 [Default=Undefined] optional unrestricted float rotationAngle, |
169 [Default=Undefined] optional unrestricted float force); | 169 [Default=Undefined] optional unrestricted float force); |
170 [RuntimeEnabled=Touch] TouchList createTouchList(Touch... touches); | 170 [RuntimeEnabled=Touch] TouchList createTouchList(Touch... touches); |
171 | 171 |
172 // Custom Elements | 172 // Custom Elements |
173 // http://w3c.github.io/webcomponents/spec/custom/#extensions-to-document-in terface-to-register | 173 // http://w3c.github.io/webcomponents/spec/custom/#extensions-to-document-in terface-to-register |
174 // FIXME: The registerElement return type should be Function. | 174 // FIXME: The registerElement return type should be Function. |
175 [CallWith=ScriptState, CustomElementCallbacks, RaisesException, MeasureAs=Do cumentRegisterElement] CustomElementConstructor registerElement(DOMString type, optional ElementRegistrationOptions options); | 175 [CallWith=ScriptState, CustomElementCallbacks, RaisesException, MeasureAs=Do cumentRegisterElement] CustomElementConstructor registerElement(DOMString type, optional ElementRegistrationOptions options); |
176 // http://w3c.github.io/webcomponents/spec/custom/#extensions-to-document-in terface-to-instantiate | 176 // http://w3c.github.io/webcomponents/spec/custom/#extensions-to-document-in terface-to-instantiate |
177 // FIXME: The typeExtension arguments should not be nullable. | 177 // FIXME: The typeExtension arguments should not be nullable. |
178 [CustomElementCallbacks, PerWorldBindings, RaisesException] Element createEl ement(DOMString localName, DOMString? typeExtension); | 178 [CustomElementCallbacks, PerWorldBindings, RaisesException] Element createEl ement(DOMString localName, (ElementCreationOptions or DOMString) options); |
Yuki
2016/09/15 08:01:39
Just drop-by: The spec is saying |optional Element
Anton Obzhirov
2016/09/21 15:05:12
Sorry for late reply. As for DOMString? there is a
| |
179 [CustomElementCallbacks, RaisesException] Element createElementNS(DOMString? namespaceURI, DOMString qualifiedName, DOMString? typeExtension); | 179 [CustomElementCallbacks, RaisesException] Element createElementNS(DOMString? namespaceURI, DOMString qualifiedName, (ElementCreationOptions or DOMString) op tions); |
180 | 180 |
181 // Page Visibility | 181 // Page Visibility |
182 // http://www.w3.org/TR/page-visibility/#sec-document-interface | 182 // http://www.w3.org/TR/page-visibility/#sec-document-interface |
183 readonly attribute boolean hidden; | 183 readonly attribute boolean hidden; |
184 readonly attribute VisibilityState visibilityState; | 184 readonly attribute VisibilityState visibilityState; |
185 | 185 |
186 // CORS and RFC1918 | 186 // CORS and RFC1918 |
187 // https://mikewest.github.io/cors-rfc1918/#feature-detect | 187 // https://mikewest.github.io/cors-rfc1918/#feature-detect |
188 [RuntimeEnabled=CorsRFC1918, ImplementedAs=addressSpaceForBindings] readonly attribute AddressSpace addressSpace; | 188 [RuntimeEnabled=CorsRFC1918, ImplementedAs=addressSpaceForBindings] readonly attribute AddressSpace addressSpace; |
189 | 189 |
(...skipping 17 matching lines...) Expand all Loading... | |
207 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa ndler onsecuritypolicyviolation; | 207 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa ndler onsecuritypolicyviolation; |
208 attribute EventHandler onselectionchange; | 208 attribute EventHandler onselectionchange; |
209 attribute EventHandler onselectstart; | 209 attribute EventHandler onselectstart; |
210 attribute EventHandler onwheel; | 210 attribute EventHandler onwheel; |
211 }; | 211 }; |
212 | 212 |
213 Document implements GlobalEventHandlers; | 213 Document implements GlobalEventHandlers; |
214 Document implements ParentNode; | 214 Document implements ParentNode; |
215 Document implements NonElementParentNode; | 215 Document implements NonElementParentNode; |
216 Document implements DocumentOrShadowRoot; | 216 Document implements DocumentOrShadowRoot; |
OLD | NEW |