| 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 20 matching lines...) Expand all Loading... |
| 31 readonly attribute DOMString localName; | 31 readonly attribute DOMString localName; |
| 32 readonly attribute DOMString tagName; | 32 readonly attribute DOMString tagName; |
| 33 | 33 |
| 34 [CEReactions, Reflect] attribute DOMString id; | 34 [CEReactions, Reflect] attribute DOMString id; |
| 35 [CEReactions, Reflect=class] attribute DOMString className; | 35 [CEReactions, Reflect=class] attribute DOMString className; |
| 36 [SameObject, CEReactions, PerWorldBindings, PutForwards=value] readonly attr
ibute DOMTokenList classList; | 36 [SameObject, CEReactions, PerWorldBindings, PutForwards=value] readonly attr
ibute DOMTokenList classList; |
| 37 | 37 |
| 38 // PointerEvent (http://www.w3.org/TR/pointerevents/#extensions-to-the-eleme
nt-interface) | 38 // PointerEvent (http://www.w3.org/TR/pointerevents/#extensions-to-the-eleme
nt-interface) |
| 39 [RuntimeEnabled=PointerEvent, RaisesException] void setPointerCapture (long
pointerId); | 39 [RuntimeEnabled=PointerEvent, RaisesException] void setPointerCapture (long
pointerId); |
| 40 [RuntimeEnabled=PointerEvent, RaisesException] void releasePointerCapture (l
ong pointerId); | 40 [RuntimeEnabled=PointerEvent, RaisesException] void releasePointerCapture (l
ong pointerId); |
| 41 [RuntimeEnabled=PointerEvent] attribute EventHandler ongotpointercapture; |
| 42 [RuntimeEnabled=PointerEvent] attribute EventHandler onlostpointercapture; |
| 43 |
| 44 // PointerEvent v2 (https://w3c.github.io/pointerevents/#extensions-to-the-e
lement-interface) |
| 45 [RuntimeEnabled=PointerEvent] boolean hasPointerCapture (long pointerId); |
| 41 | 46 |
| 42 boolean hasAttributes(); | 47 boolean hasAttributes(); |
| 43 [SameObject, PerWorldBindings, ImplementedAs=attributesForBindings] readonly
attribute NamedNodeMap attributes; | 48 [SameObject, PerWorldBindings, ImplementedAs=attributesForBindings] readonly
attribute NamedNodeMap attributes; |
| 44 DOMString? getAttribute(DOMString name); | 49 DOMString? getAttribute(DOMString name); |
| 45 DOMString? getAttributeNS(DOMString? namespaceURI, DOMString localName); | 50 DOMString? getAttributeNS(DOMString? namespaceURI, DOMString localName); |
| 46 [RaisesException, CEReactions, CustomElementCallbacks] void setAttribute(DOM
String name, DOMString value); | 51 [RaisesException, CEReactions, CustomElementCallbacks] void setAttribute(DOM
String name, DOMString value); |
| 47 [RaisesException, CEReactions, CustomElementCallbacks] void setAttributeNS(D
OMString? namespaceURI, DOMString name, DOMString value); | 52 [RaisesException, CEReactions, CustomElementCallbacks] void setAttributeNS(D
OMString? namespaceURI, DOMString name, DOMString value); |
| 48 [CEReactions, CustomElementCallbacks] void removeAttribute(DOMString name); | 53 [CEReactions, CustomElementCallbacks] void removeAttribute(DOMString name); |
| 49 [CEReactions, CustomElementCallbacks] void removeAttributeNS(DOMString? name
spaceURI, DOMString localName); | 54 [CEReactions, CustomElementCallbacks] void removeAttributeNS(DOMString? name
spaceURI, DOMString localName); |
| 50 boolean hasAttribute(DOMString name); | 55 boolean hasAttribute(DOMString name); |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 // Event handler attributes | 128 // Event handler attributes |
| 124 attribute EventHandler onbeforecopy; | 129 attribute EventHandler onbeforecopy; |
| 125 attribute EventHandler onbeforecut; | 130 attribute EventHandler onbeforecut; |
| 126 attribute EventHandler onbeforepaste; | 131 attribute EventHandler onbeforepaste; |
| 127 attribute EventHandler oncopy; | 132 attribute EventHandler oncopy; |
| 128 attribute EventHandler oncut; | 133 attribute EventHandler oncut; |
| 129 attribute EventHandler onpaste; | 134 attribute EventHandler onpaste; |
| 130 attribute EventHandler onsearch; | 135 attribute EventHandler onsearch; |
| 131 attribute EventHandler onselectstart; | 136 attribute EventHandler onselectstart; |
| 132 attribute EventHandler onwheel; | 137 attribute EventHandler onwheel; |
| 133 | |
| 134 // Pointerevent attributes (http://www.w3.org/TR/pointerevents/#extensions-t
o-the-element-interface) | |
| 135 [RuntimeEnabled=PointerEvent] attribute EventHandler ongotpointercapture; | |
| 136 [RuntimeEnabled=PointerEvent] attribute EventHandler onlostpointercapture; | |
| 137 | |
| 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 |