| 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 | 63 |
| 64 // DOM Parsing and Serialization | 64 // DOM Parsing and Serialization |
| 65 // https://dvcs.w3.org/hg/innerhtml/raw-file/tip/index.html#extensions-to-th
e-element-interface | 65 // https://dvcs.w3.org/hg/innerhtml/raw-file/tip/index.html#extensions-to-th
e-element-interface |
| 66 [TreatNullAs=NullString, CustomElementCallbacks, RaisesException=Setter] att
ribute DOMString innerHTML; | 66 [TreatNullAs=NullString, CustomElementCallbacks, RaisesException=Setter] att
ribute DOMString innerHTML; |
| 67 [TreatNullAs=NullString, CustomElementCallbacks, RaisesException=Setter] att
ribute DOMString outerHTML; | 67 [TreatNullAs=NullString, CustomElementCallbacks, RaisesException=Setter] att
ribute DOMString outerHTML; |
| 68 [CustomElementCallbacks, RaisesException, MeasureAs=InsertAdjacentHTML] void
insertAdjacentHTML(DOMString position, DOMString text); | 68 [CustomElementCallbacks, RaisesException, MeasureAs=InsertAdjacentHTML] void
insertAdjacentHTML(DOMString position, DOMString text); |
| 69 | 69 |
| 70 // Shadow DOM | 70 // Shadow DOM |
| 71 // http://w3c.github.io/webcomponents/spec/shadow/#extensions-to-element-int
erface | 71 // http://w3c.github.io/webcomponents/spec/shadow/#extensions-to-element-int
erface |
| 72 [RaisesException, CallWith=ScriptState, MeasureAs=ElementCreateShadowRoot] S
hadowRoot createShadowRoot(); | 72 [RaisesException, CallWith=ScriptState, MeasureAs=ElementCreateShadowRoot] S
hadowRoot createShadowRoot(); |
| 73 [RuntimeEnabled=ShadowDOMV1, RaisesException, CallWith=ScriptState, MeasureA
s=ElementCreateShadowRoot] ShadowRoot createShadowRoot(ShadowRootInit shadowRoot
InitDict); | 73 [RuntimeEnabled=ShadowDOMV1, RaisesException, CallWith=ScriptState, MeasureA
s=ElementAttachShadow] ShadowRoot attachShadow(ShadowRootInit shadowRootInitDict
); |
| 74 NodeList getDestinationInsertionPoints(); | 74 NodeList getDestinationInsertionPoints(); |
| 75 [PerWorldBindings, ImplementedAs=openShadowRoot] readonly attribute ShadowRo
ot? shadowRoot; | 75 [PerWorldBindings, ImplementedAs=openShadowRoot] readonly attribute ShadowRo
ot? shadowRoot; |
| 76 | 76 |
| 77 // Pointer Lock | 77 // Pointer Lock |
| 78 // https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#extensions
-to-the-element-interface | 78 // https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#extensions
-to-the-element-interface |
| 79 [MeasureAs=ElementRequestPointerLock] void requestPointerLock(); | 79 [MeasureAs=ElementRequestPointerLock] void requestPointerLock(); |
| 80 | 80 |
| 81 // CSSOM View Module | 81 // CSSOM View Module |
| 82 // http://dev.w3.org/csswg/cssom-view/#extension-to-the-element-interface | 82 // http://dev.w3.org/csswg/cssom-view/#extension-to-the-element-interface |
| 83 // FIXME: getClientRect() and getBoundingClientRect() should | 83 // FIXME: getClientRect() and getBoundingClientRect() should |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel; | 128 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel; |
| 129 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; | 129 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; |
| 130 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; | 130 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; |
| 131 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; | 131 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; |
| 132 attribute EventHandler onwheel; | 132 attribute EventHandler onwheel; |
| 133 }; | 133 }; |
| 134 | 134 |
| 135 Element implements ParentNode; | 135 Element implements ParentNode; |
| 136 Element implements ChildNode; | 136 Element implements ChildNode; |
| 137 Element implements NonDocumentTypeChildNode; | 137 Element implements NonDocumentTypeChildNode; |
| OLD | NEW |