| 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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 // Custom Elements | 173 // Custom Elements |
| 174 // https://w3c.github.io/webcomponents/spec/custom/#extensions-to-document-i
nterface-to-register | 174 // https://w3c.github.io/webcomponents/spec/custom/#extensions-to-document-i
nterface-to-register |
| 175 // FIXME: The registerElement return type should be Function. | 175 // FIXME: The registerElement return type should be Function. |
| 176 [CallWith=ScriptState, CustomElementCallbacks, RaisesException, MeasureAs=Do
cumentRegisterElement] CustomElementConstructor registerElement(DOMString type,
optional ElementRegistrationOptions options); | 176 [CallWith=ScriptState, CustomElementCallbacks, RaisesException, MeasureAs=Do
cumentRegisterElement] CustomElementConstructor registerElement(DOMString type,
optional ElementRegistrationOptions options); |
| 177 // https://w3c.github.io/webcomponents/spec/custom/#extensions-to-document-i
nterface-to-instantiate | 177 // https://w3c.github.io/webcomponents/spec/custom/#extensions-to-document-i
nterface-to-instantiate |
| 178 // FIXME: The typeExtension arguments should not be nullable. | 178 // FIXME: The typeExtension arguments should not be nullable. |
| 179 [CustomElementCallbacks, PerWorldBindings, RaisesException] Element createEl
ement(DOMString localName, (DOMString or Dictionary)? options); | 179 [CustomElementCallbacks, PerWorldBindings, RaisesException] Element createEl
ement(DOMString localName, (DOMString or Dictionary)? options); |
| 180 [CustomElementCallbacks, RaisesException] Element createElementNS(DOMString?
namespaceURI, DOMString qualifiedName, (DOMString or Dictionary)? options); | 180 [CustomElementCallbacks, RaisesException] Element createElementNS(DOMString?
namespaceURI, DOMString qualifiedName, (DOMString or Dictionary)? options); |
| 181 | 181 |
| 182 // Page Visibility | 182 // Page Visibility |
| 183 // https://www.w3.org/TR/page-visibility/#sec-document-interface | 183 // https://w3c.github.io/page-visibility/#extensions-to-the-document-interfa
ce |
| 184 readonly attribute boolean hidden; | 184 readonly attribute boolean hidden; |
| 185 readonly attribute VisibilityState visibilityState; | 185 readonly attribute VisibilityState visibilityState; |
| 186 | 186 |
| 187 // CORS and RFC1918 | 187 // CORS and RFC1918 |
| 188 // https://wicg.github.io/cors-rfc1918/#feature-detect | 188 // https://wicg.github.io/cors-rfc1918/#feature-detect |
| 189 [RuntimeEnabled=CorsRFC1918, ImplementedAs=addressSpaceForBindings] readonly
attribute AddressSpace addressSpace; | 189 [RuntimeEnabled=CorsRFC1918, ImplementedAs=addressSpaceForBindings] readonly
attribute AddressSpace addressSpace; |
| 190 | 190 |
| 191 // Non-standard APIs | 191 // Non-standard APIs |
| 192 [MeasureAs=DocumentCaretRangeFromPoint] Range caretRangeFromPoint([Default=U
ndefined] optional long x, [Default=Undefined] optional long y); | 192 [MeasureAs=DocumentCaretRangeFromPoint] Range caretRangeFromPoint([Default=U
ndefined] optional long x, [Default=Undefined] optional long y); |
| 193 | 193 |
| (...skipping 14 matching lines...) Expand all 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 |