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 18 matching lines...) Expand all Loading... |
29 readonly attribute DOMString? namespaceURI; | 29 readonly attribute DOMString? namespaceURI; |
30 readonly attribute DOMString? prefix; | 30 readonly attribute DOMString? prefix; |
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 [Unscopable, CEReactions, Reflect] attribute DOMString slot; | 37 [Unscopable, CEReactions, Reflect] attribute DOMString slot; |
38 | 38 |
39 // PointerEvent | 39 // Pointer Events |
40 //https://www.w3.org/TR/pointerevents/#extensions-to-the-element-interface | 40 // https://w3c.github.io/pointerevents/#extensions-to-the-element-interface |
41 [RuntimeEnabled=PointerEvent, RaisesException] void setPointerCapture (long
pointerId); | 41 [RuntimeEnabled=PointerEvent, RaisesException] void setPointerCapture (long
pointerId); |
42 [RuntimeEnabled=PointerEvent, RaisesException] void releasePointerCapture (l
ong pointerId); | 42 [RuntimeEnabled=PointerEvent, RaisesException] void releasePointerCapture (l
ong pointerId); |
43 [RuntimeEnabled=PointerEvent] attribute EventHandler ongotpointercapture; | |
44 [RuntimeEnabled=PointerEvent] attribute EventHandler onlostpointercapture; | |
45 | |
46 // PointerEvent v2 | |
47 // https://w3c.github.io/pointerevents/#extensions-to-the-element-interface | |
48 [RuntimeEnabled=PointerEvent] boolean hasPointerCapture (long pointerId); | 43 [RuntimeEnabled=PointerEvent] boolean hasPointerCapture (long pointerId); |
49 | 44 |
50 boolean hasAttributes(); | 45 boolean hasAttributes(); |
51 [SameObject, PerWorldBindings, ImplementedAs=attributesForBindings] readonly
attribute NamedNodeMap attributes; | 46 [SameObject, PerWorldBindings, ImplementedAs=attributesForBindings] readonly
attribute NamedNodeMap attributes; |
52 DOMString? getAttribute(DOMString name); | 47 DOMString? getAttribute(DOMString name); |
53 DOMString? getAttributeNS(DOMString? namespaceURI, DOMString localName); | 48 DOMString? getAttributeNS(DOMString? namespaceURI, DOMString localName); |
54 [RaisesException, CEReactions, CustomElementCallbacks] void setAttribute(DOM
String name, DOMString value); | 49 [RaisesException, CEReactions, CustomElementCallbacks] void setAttribute(DOM
String name, DOMString value); |
55 [RaisesException, CEReactions, CustomElementCallbacks] void setAttributeNS(D
OMString? namespaceURI, DOMString name, DOMString value); | 50 [RaisesException, CEReactions, CustomElementCallbacks] void setAttributeNS(D
OMString? namespaceURI, DOMString name, DOMString value); |
56 [CEReactions, CustomElementCallbacks] void removeAttribute(DOMString name); | 51 [CEReactions, CustomElementCallbacks] void removeAttribute(DOMString name); |
57 [CEReactions, CustomElementCallbacks] void removeAttributeNS(DOMString? name
spaceURI, DOMString localName); | 52 [CEReactions, CustomElementCallbacks] void removeAttributeNS(DOMString? name
spaceURI, DOMString localName); |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 attribute EventHandler oncut; | 131 attribute EventHandler oncut; |
137 attribute EventHandler onpaste; | 132 attribute EventHandler onpaste; |
138 attribute EventHandler onsearch; | 133 attribute EventHandler onsearch; |
139 attribute EventHandler onselectstart; | 134 attribute EventHandler onselectstart; |
140 attribute EventHandler onwheel; | 135 attribute EventHandler onwheel; |
141 }; | 136 }; |
142 | 137 |
143 Element implements ParentNode; | 138 Element implements ParentNode; |
144 Element implements ChildNode; | 139 Element implements ChildNode; |
145 Element implements NonDocumentTypeChildNode; | 140 Element implements NonDocumentTypeChildNode; |
OLD | NEW |