| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2009 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> | 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> |
| 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 | 74 |
| 75 // DOM Parsing and Serialization | 75 // DOM Parsing and Serialization |
| 76 // https://dvcs.w3.org/hg/innerhtml/raw-file/tip/index.html#extensions-to-th
e-element-interface | 76 // https://dvcs.w3.org/hg/innerhtml/raw-file/tip/index.html#extensions-to-th
e-element-interface |
| 77 [TreatNullAs=NullString, CEReactions, CustomElementCallbacks, RaisesExceptio
n=Setter] attribute DOMString innerHTML; | 77 [TreatNullAs=NullString, CEReactions, CustomElementCallbacks, RaisesExceptio
n=Setter] attribute DOMString innerHTML; |
| 78 [TreatNullAs=NullString, CEReactions, CustomElementCallbacks, RaisesExceptio
n=Setter] attribute DOMString outerHTML; | 78 [TreatNullAs=NullString, CEReactions, CustomElementCallbacks, RaisesExceptio
n=Setter] attribute DOMString outerHTML; |
| 79 [CEReactions, CustomElementCallbacks, RaisesException] void insertAdjacentHT
ML(DOMString position, DOMString text); | 79 [CEReactions, CustomElementCallbacks, RaisesException] void insertAdjacentHT
ML(DOMString position, DOMString text); |
| 80 | 80 |
| 81 // Shadow DOM | 81 // Shadow DOM |
| 82 // http://w3c.github.io/webcomponents/spec/shadow/#extensions-to-element-int
erface | 82 // http://w3c.github.io/webcomponents/spec/shadow/#extensions-to-element-int
erface |
| 83 [RaisesException, CallWith=ScriptState, MeasureAs=ElementCreateShadowRoot] S
hadowRoot createShadowRoot(); | 83 [RaisesException, CallWith=ScriptState, MeasureAs=ElementCreateShadowRoot] S
hadowRoot createShadowRoot(); |
| 84 [RuntimeEnabled=ShadowDOMV1, RaisesException, CallWith=ScriptState, MeasureA
s=ElementAttachShadow] ShadowRoot attachShadow(ShadowRootInit shadowRootInitDict
); | 84 [RaisesException, CallWith=ScriptState, MeasureAs=ElementAttachShadow] Shado
wRoot attachShadow(ShadowRootInit shadowRootInitDict); |
| 85 NodeList getDestinationInsertionPoints(); | 85 NodeList getDestinationInsertionPoints(); |
| 86 [PerWorldBindings, ImplementedAs=openShadowRoot] readonly attribute ShadowRo
ot? shadowRoot; | 86 [PerWorldBindings, ImplementedAs=openShadowRoot] readonly attribute ShadowRo
ot? shadowRoot; |
| 87 [RuntimeEnabled=ShadowDOMV1, Unscopable, CEReactions, Reflect] attribute DOM
String slot; | 87 [Unscopable, CEReactions, Reflect] attribute DOMString slot; |
| 88 [RuntimeEnabled=ShadowDOMV1, ImplementedAs=assignedSlotForBinding] readonly
attribute HTMLSlotElement assignedSlot; | 88 [ImplementedAs=assignedSlotForBinding] readonly attribute HTMLSlotElement as
signedSlot; |
| 89 | 89 |
| 90 // Pointer Lock | 90 // Pointer Lock |
| 91 // https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#extensions
-to-the-element-interface | 91 // https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#extensions
-to-the-element-interface |
| 92 [MeasureAs=ElementRequestPointerLock] void requestPointerLock(); | 92 [MeasureAs=ElementRequestPointerLock] void requestPointerLock(); |
| 93 | 93 |
| 94 // CSSOM View Module | 94 // CSSOM View Module |
| 95 // http://dev.w3.org/csswg/cssom-view/#extension-to-the-element-interface | 95 // http://dev.w3.org/csswg/cssom-view/#extension-to-the-element-interface |
| 96 // FIXME: getClientRect() and getBoundingClientRect() should | 96 // FIXME: getClientRect() and getBoundingClientRect() should |
| 97 // return DOMRectList and DOMRect respectively. | 97 // return DOMRectList and DOMRect respectively. |
| 98 ClientRectList getClientRects(); | 98 ClientRectList getClientRects(); |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 attribute EventHandler oncut; | 133 attribute EventHandler oncut; |
| 134 attribute EventHandler onpaste; | 134 attribute EventHandler onpaste; |
| 135 attribute EventHandler onsearch; | 135 attribute EventHandler onsearch; |
| 136 attribute EventHandler onselectstart; | 136 attribute EventHandler onselectstart; |
| 137 attribute EventHandler onwheel; | 137 attribute EventHandler onwheel; |
| 138 }; | 138 }; |
| 139 | 139 |
| 140 Element implements ParentNode; | 140 Element implements ParentNode; |
| 141 Element implements ChildNode; | 141 Element implements ChildNode; |
| 142 Element implements NonDocumentTypeChildNode; | 142 Element implements NonDocumentTypeChildNode; |
| OLD | NEW |