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 15 matching lines...) Expand all Loading... | |
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 [Reflect] attribute DOMString id; | 34 [Reflect] attribute DOMString id; |
35 [Reflect=class] attribute DOMString className; | 35 [Reflect=class] attribute DOMString className; |
36 [SameObject, PerWorldBindings] readonly attribute DOMTokenList classList; | 36 [SameObject, PerWorldBindings, PutForwards=value] readonly attribute DOMToke nList classList; |
tkent
2016/02/16 03:45:11
Can you do this change in a separated CL?
Yoav Weiss
2016/02/16 09:12:00
sure, removed
| |
37 | 37 |
38 [MeasureAs=HasAttributes] boolean hasAttributes(); | 38 [MeasureAs=HasAttributes] boolean hasAttributes(); |
39 [SameObject, PerWorldBindings, ImplementedAs=attributesForBindings] readonly attribute NamedNodeMap attributes; | 39 [SameObject, PerWorldBindings, ImplementedAs=attributesForBindings] readonly attribute NamedNodeMap attributes; |
40 DOMString? getAttribute(DOMString name); | 40 DOMString? getAttribute(DOMString name); |
41 DOMString? getAttributeNS(DOMString? namespaceURI, DOMString localName); | 41 DOMString? getAttributeNS(DOMString? namespaceURI, DOMString localName); |
42 [RaisesException, CustomElementCallbacks] void setAttribute(DOMString name, DOMString value); | 42 [RaisesException, CustomElementCallbacks] void setAttribute(DOMString name, DOMString value); |
43 [RaisesException, CustomElementCallbacks] void setAttributeNS(DOMString? nam espaceURI, DOMString name, DOMString value); | 43 [RaisesException, CustomElementCallbacks] void setAttributeNS(DOMString? nam espaceURI, DOMString name, DOMString value); |
44 [CustomElementCallbacks] void removeAttribute(DOMString name); | 44 [CustomElementCallbacks] void removeAttribute(DOMString name); |
45 [CustomElementCallbacks] void removeAttributeNS(DOMString? namespaceURI, DOM String localName); | 45 [CustomElementCallbacks] void removeAttributeNS(DOMString? namespaceURI, DOM String localName); |
46 boolean hasAttribute(DOMString name); | 46 boolean hasAttribute(DOMString name); |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
124 attribute EventHandler oncut; | 124 attribute EventHandler oncut; |
125 attribute EventHandler onpaste; | 125 attribute EventHandler onpaste; |
126 attribute EventHandler onsearch; | 126 attribute EventHandler onsearch; |
127 attribute EventHandler onselectstart; | 127 attribute EventHandler onselectstart; |
128 attribute EventHandler onwheel; | 128 attribute EventHandler onwheel; |
129 }; | 129 }; |
130 | 130 |
131 Element implements ParentNode; | 131 Element implements ParentNode; |
132 Element implements ChildNode; | 132 Element implements ChildNode; |
133 Element implements NonDocumentTypeChildNode; | 133 Element implements NonDocumentTypeChildNode; |
OLD | NEW |