| 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 HTMLCollection getElementsByClassName(DOMString classNames); | 76 HTMLCollection getElementsByClassName(DOMString classNames); |
| 77 | 77 |
| 78 [RaisesException, CEReactions, CustomElementCallbacks] Element? insertAdjace
ntElement(DOMString where, Element element); | 78 [RaisesException, CEReactions, CustomElementCallbacks] Element? insertAdjace
ntElement(DOMString where, Element element); |
| 79 [RaisesException] void insertAdjacentText(DOMString where, DOMString data); | 79 [RaisesException] void insertAdjacentText(DOMString where, DOMString data); |
| 80 | 80 |
| 81 // Mixin Slotable | 81 // Mixin Slotable |
| 82 // https://dom.spec.whatwg.org/#mixin-slotable | 82 // https://dom.spec.whatwg.org/#mixin-slotable |
| 83 [ImplementedAs=assignedSlotForBinding] readonly attribute HTMLSlotElement? a
ssignedSlot; | 83 [ImplementedAs=assignedSlotForBinding] readonly attribute HTMLSlotElement? a
ssignedSlot; |
| 84 | 84 |
| 85 // DOM Parsing and Serialization | 85 // DOM Parsing and Serialization |
| 86 // https://dvcs.w3.org/hg/innerhtml/raw-file/tip/index.html#extensions-to-th
e-element-interface | 86 // https://w3c.github.io/DOM-Parsing/#extensions-to-the-element-interface |
| 87 [TreatNullAs=NullString, CEReactions, CustomElementCallbacks, RaisesExceptio
n=Setter] attribute DOMString innerHTML; | 87 [TreatNullAs=NullString, CEReactions, CustomElementCallbacks, RaisesExceptio
n=Setter] attribute DOMString innerHTML; |
| 88 [TreatNullAs=NullString, CEReactions, CustomElementCallbacks, RaisesExceptio
n=Setter] attribute DOMString outerHTML; | 88 [TreatNullAs=NullString, CEReactions, CustomElementCallbacks, RaisesExceptio
n=Setter] attribute DOMString outerHTML; |
| 89 [CEReactions, CustomElementCallbacks, RaisesException] void insertAdjacentHT
ML(DOMString position, DOMString text); | 89 [CEReactions, CustomElementCallbacks, RaisesException] void insertAdjacentHT
ML(DOMString position, DOMString text); |
| 90 | 90 |
| 91 // Pointer Lock | 91 // Pointer Lock |
| 92 // https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#extensions
-to-the-element-interface | 92 // https://w3c.github.io/pointerlock/#extensions-to-the-element-interface |
| 93 [MeasureAs=ElementRequestPointerLock] void requestPointerLock(); | 93 [MeasureAs=ElementRequestPointerLock] void requestPointerLock(); |
| 94 | 94 |
| 95 // CSSOM View Module | 95 // CSSOM View Module |
| 96 // https://dev.w3.org/csswg/cssom-view/#extension-to-the-element-interface | 96 // https://dev.w3.org/csswg/cssom-view/#extension-to-the-element-interface |
| 97 // FIXME: getClientRect() and getBoundingClientRect() should | 97 // FIXME: getClientRect() and getBoundingClientRect() should |
| 98 // return DOMRectList and DOMRect respectively. | 98 // return DOMRectList and DOMRect respectively. |
| 99 ClientRectList getClientRects(); | 99 ClientRectList getClientRects(); |
| 100 ClientRect getBoundingClientRect(); | 100 ClientRect getBoundingClientRect(); |
| 101 // FIXME: scrollIntoView() should have a ScrollIntoViewOptions dictionary ar
gument. | 101 // FIXME: scrollIntoView() should have a ScrollIntoViewOptions dictionary ar
gument. |
| 102 void scrollIntoView(optional boolean alignWithTop); | 102 void scrollIntoView(optional boolean alignWithTop); |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 attribute EventHandler oncut; | 136 attribute EventHandler oncut; |
| 137 attribute EventHandler onpaste; | 137 attribute EventHandler onpaste; |
| 138 attribute EventHandler onsearch; | 138 attribute EventHandler onsearch; |
| 139 attribute EventHandler onselectstart; | 139 attribute EventHandler onselectstart; |
| 140 attribute EventHandler onwheel; | 140 attribute EventHandler onwheel; |
| 141 }; | 141 }; |
| 142 | 142 |
| 143 Element implements ParentNode; | 143 Element implements ParentNode; |
| 144 Element implements ChildNode; | 144 Element implements ChildNode; |
| 145 Element implements NonDocumentTypeChildNode; | 145 Element implements NonDocumentTypeChildNode; |
| OLD | NEW |