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 24 matching lines...) Expand all Loading... |
35 [PerWorldBindings, ImplementedAs=attributesForBindings] readonly attribute N
amedNodeMap attributes; | 35 [PerWorldBindings, ImplementedAs=attributesForBindings] readonly attribute N
amedNodeMap attributes; |
36 [MeasureAs=HasAttributes] boolean hasAttributes(); | 36 [MeasureAs=HasAttributes] boolean hasAttributes(); |
37 | 37 |
38 // DOM Level 2 Core | 38 // DOM Level 2 Core |
39 | 39 |
40 DOMString? getAttributeNS(DOMString? namespaceURI, DOMString localName); | 40 DOMString? getAttributeNS(DOMString? namespaceURI, DOMString localName); |
41 [RaisesException, CustomElementCallbacks] void setAttributeNS(DOMString? nam
espaceURI, DOMString qualifiedName, DOMString value); | 41 [RaisesException, CustomElementCallbacks] void setAttributeNS(DOMString? nam
espaceURI, DOMString qualifiedName, DOMString value); |
42 [CustomElementCallbacks] void removeAttributeNS(DOMString? namespaceURI, DOM
String localName); | 42 [CustomElementCallbacks] void removeAttributeNS(DOMString? namespaceURI, DOM
String localName); |
43 HTMLCollection getElementsByTagNameNS(DOMString? namespaceURI, DOMString loc
alName); | 43 HTMLCollection getElementsByTagNameNS(DOMString? namespaceURI, DOMString loc
alName); |
44 [MeasureAs=ElementGetAttributeNodeNS] Attr getAttributeNodeNS(DOMString? nam
espaceURI, DOMString localName); | 44 [MeasureAs=ElementGetAttributeNodeNS] Attr getAttributeNodeNS(DOMString? nam
espaceURI, DOMString localName); |
45 [RaisesException, CustomElementCallbacks, DeprecateAs=ElementSetAttributeNod
eNS] Attr setAttributeNodeNS(Attr newAttr); // Removed from DOM4. | 45 [RaisesException, CustomElementCallbacks, MeasureAs=ElementSetAttributeNodeN
S] Attr setAttributeNodeNS(Attr newAttr); |
46 boolean hasAttribute(DOMString name); | 46 boolean hasAttribute(DOMString name); |
47 boolean hasAttributeNS(DOMString? namespaceURI, DOMString localName); | 47 boolean hasAttributeNS(DOMString? namespaceURI, DOMString localName); |
48 | 48 |
49 [PerWorldBindings] readonly attribute CSSStyleDeclaration style; | 49 [PerWorldBindings] readonly attribute CSSStyleDeclaration style; |
50 | 50 |
51 // DOM4 | 51 // DOM4 |
52 [Reflect] attribute DOMString id; | 52 [Reflect] attribute DOMString id; |
53 readonly attribute DOMString? namespaceURI; | 53 readonly attribute DOMString? namespaceURI; |
54 readonly attribute DOMString? prefix; | 54 readonly attribute DOMString? prefix; |
55 readonly attribute DOMString? localName; | 55 readonly attribute DOMString? localName; |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 attribute EventHandler onselectstart; | 125 attribute EventHandler onselectstart; |
126 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel; | 126 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel; |
127 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; | 127 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; |
128 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; | 128 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; |
129 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; | 129 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; |
130 attribute EventHandler onwheel; | 130 attribute EventHandler onwheel; |
131 }; | 131 }; |
132 | 132 |
133 Element implements ParentNode; | 133 Element implements ParentNode; |
134 Element implements ChildNode; | 134 Element implements ChildNode; |
OLD | NEW |