| 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 [TreatNullAs=NullString, CustomElementCallbacks, RaisesException=Setter] att
ribute DOMString innerHTML; | 64 [TreatNullAs=NullString, CustomElementCallbacks, RaisesException=Setter] att
ribute DOMString innerHTML; |
| 65 [TreatNullAs=NullString, CustomElementCallbacks, RaisesException=Setter] att
ribute DOMString outerHTML; | 65 [TreatNullAs=NullString, CustomElementCallbacks, RaisesException=Setter] att
ribute DOMString outerHTML; |
| 66 [CustomElementCallbacks, RaisesException, MeasureAs=InsertAdjacentHTML] void
insertAdjacentHTML(DOMString position, DOMString text); | 66 [CustomElementCallbacks, RaisesException, MeasureAs=InsertAdjacentHTML] void
insertAdjacentHTML(DOMString position, DOMString text); |
| 67 | 67 |
| 68 // Shadow DOM | 68 // Shadow DOM |
| 69 // http://w3c.github.io/webcomponents/spec/shadow/#extensions-to-element-int
erface | 69 // http://w3c.github.io/webcomponents/spec/shadow/#extensions-to-element-int
erface |
| 70 [RaisesException, CallWith=ScriptState, MeasureAs=ElementCreateShadowRoot] S
hadowRoot createShadowRoot(); | 70 [RaisesException, CallWith=ScriptState, MeasureAs=ElementCreateShadowRoot] S
hadowRoot createShadowRoot(); |
| 71 [RuntimeEnabled=ShadowDOMV1, RaisesException, CallWith=ScriptState, MeasureA
s=ElementAttachShadow] ShadowRoot attachShadow(ShadowRootInit shadowRootInitDict
); | 71 [RuntimeEnabled=ShadowDOMV1, RaisesException, CallWith=ScriptState, MeasureA
s=ElementAttachShadow] ShadowRoot attachShadow(ShadowRootInit shadowRootInitDict
); |
| 72 NodeList getDestinationInsertionPoints(); | 72 NodeList getDestinationInsertionPoints(); |
| 73 [PerWorldBindings, ImplementedAs=openShadowRoot] readonly attribute ShadowRo
ot? shadowRoot; | 73 [PerWorldBindings, ImplementedAs=openShadowRoot] readonly attribute ShadowRo
ot? shadowRoot; |
| 74 [RuntimeEnabled=ShadowDOMV1, Reflect] attribute DOMString slot; |
| 74 | 75 |
| 75 // Pointer Lock | 76 // Pointer Lock |
| 76 // https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#extensions
-to-the-element-interface | 77 // https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#extensions
-to-the-element-interface |
| 77 [MeasureAs=ElementRequestPointerLock] void requestPointerLock(); | 78 [MeasureAs=ElementRequestPointerLock] void requestPointerLock(); |
| 78 | 79 |
| 79 // CSSOM View Module | 80 // CSSOM View Module |
| 80 // http://dev.w3.org/csswg/cssom-view/#extension-to-the-element-interface | 81 // http://dev.w3.org/csswg/cssom-view/#extension-to-the-element-interface |
| 81 // FIXME: getClientRect() and getBoundingClientRect() should | 82 // FIXME: getClientRect() and getBoundingClientRect() should |
| 82 // return DOMRectList and DOMRect respectively. | 83 // return DOMRectList and DOMRect respectively. |
| 83 ClientRectList getClientRects(); | 84 ClientRectList getClientRects(); |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 attribute EventHandler oncut; | 123 attribute EventHandler oncut; |
| 123 attribute EventHandler onpaste; | 124 attribute EventHandler onpaste; |
| 124 attribute EventHandler onsearch; | 125 attribute EventHandler onsearch; |
| 125 attribute EventHandler onselectstart; | 126 attribute EventHandler onselectstart; |
| 126 attribute EventHandler onwheel; | 127 attribute EventHandler onwheel; |
| 127 }; | 128 }; |
| 128 | 129 |
| 129 Element implements ParentNode; | 130 Element implements ParentNode; |
| 130 Element implements ChildNode; | 131 Element implements ChildNode; |
| 131 Element implements NonDocumentTypeChildNode; | 132 Element implements NonDocumentTypeChildNode; |
| OLD | NEW |