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 13 matching lines...) Expand all Loading... |
24 enum NativeScrollBehavior { "disable-native-scroll", "perform-before-native-scro
ll", "perform-after-native-scroll" }; | 24 enum NativeScrollBehavior { "disable-native-scroll", "perform-before-native-scro
ll", "perform-after-native-scroll" }; |
25 | 25 |
26 // https://dom.spec.whatwg.org/#interface-element | 26 // https://dom.spec.whatwg.org/#interface-element |
27 | 27 |
28 interface Element : Node { | 28 interface Element : Node { |
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, CachedAccessor=Lazy] 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 // Pointer Events | 39 // Pointer Events |
40 // https://w3c.github.io/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] boolean hasPointerCapture (long pointerId); | 43 [RuntimeEnabled=PointerEvent] boolean hasPointerCapture (long pointerId); |
44 | 44 |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 attribute EventHandler oncut; | 138 attribute EventHandler oncut; |
139 attribute EventHandler onpaste; | 139 attribute EventHandler onpaste; |
140 attribute EventHandler onsearch; | 140 attribute EventHandler onsearch; |
141 attribute EventHandler onselectstart; | 141 attribute EventHandler onselectstart; |
142 attribute EventHandler onwheel; | 142 attribute EventHandler onwheel; |
143 }; | 143 }; |
144 | 144 |
145 Element implements ParentNode; | 145 Element implements ParentNode; |
146 Element implements ChildNode; | 146 Element implements ChildNode; |
147 Element implements NonDocumentTypeChildNode; | 147 Element implements NonDocumentTypeChildNode; |
OLD | NEW |