| 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 14 matching lines...) Expand all Loading... |
| 25 // DOM Level 1 Core | 25 // DOM Level 1 Core |
| 26 | 26 |
| 27 [TreatReturnedNullStringAs=Null] readonly attribute DOMString tagName; | 27 [TreatReturnedNullStringAs=Null] readonly attribute DOMString tagName; |
| 28 | 28 |
| 29 [TreatReturnedNullStringAs=Null] DOMString getAttribute(DOMString name); | 29 [TreatReturnedNullStringAs=Null] DOMString getAttribute(DOMString name); |
| 30 [RaisesException, CustomElementCallbacks] void setAttribute(DOMString name,
DOMString value); | 30 [RaisesException, CustomElementCallbacks] void setAttribute(DOMString name,
DOMString value); |
| 31 [CustomElementCallbacks] void removeAttribute(DOMString name); | 31 [CustomElementCallbacks] void removeAttribute(DOMString name); |
| 32 [MeasureAs=ElementGetAttributeNode] Attr getAttributeNode([Default=Undefined
] optional DOMString name); // Removed from DOM4. | 32 [MeasureAs=ElementGetAttributeNode] Attr getAttributeNode([Default=Undefined
] optional DOMString name); // Removed from DOM4. |
| 33 [RaisesException, CustomElementCallbacks, MeasureAs=ElementSetAttributeNode]
Attr setAttributeNode([Default=Undefined, TypeChecking=Nullable] optional Attr
newAttr); // Removed from DOM4. | 33 [RaisesException, CustomElementCallbacks, MeasureAs=ElementSetAttributeNode]
Attr setAttributeNode([Default=Undefined, TypeChecking=Nullable] optional Attr
newAttr); // Removed from DOM4. |
| 34 [RaisesException, CustomElementCallbacks, MeasureAs=ElementRemoveAttributeNo
de] Attr removeAttributeNode([Default=Undefined, TypeChecking=Nullable] optional
Attr oldAttr); // Removed from DOM4. | 34 [RaisesException, CustomElementCallbacks, MeasureAs=ElementRemoveAttributeNo
de] Attr removeAttributeNode([Default=Undefined, TypeChecking=Nullable] optional
Attr oldAttr); // Removed from DOM4. |
| 35 [PerWorldBindings] HTMLCollection getElementsByTagName(DOMString name); | 35 HTMLCollection getElementsByTagName(DOMString name); |
| 36 | 36 |
| 37 [PerWorldBindings] readonly attribute NamedNodeMap attributes; | 37 [PerWorldBindings] readonly attribute NamedNodeMap attributes; |
| 38 [MeasureAs=HasAttributes] boolean hasAttributes(); | 38 [MeasureAs=HasAttributes] boolean hasAttributes(); |
| 39 | 39 |
| 40 // DOM Level 2 Core | 40 // DOM Level 2 Core |
| 41 | 41 |
| 42 [TreatReturnedNullStringAs=Null] DOMString getAttributeNS([TreatNullAs=NullS
tring] DOMString namespaceURI, DOMString localName); | 42 [TreatReturnedNullStringAs=Null] DOMString getAttributeNS([TreatNullAs=NullS
tring] DOMString namespaceURI, DOMString localName); |
| 43 [RaisesException, CustomElementCallbacks] void setAttributeNS([TreatNullAs=N
ullString] DOMString namespaceURI, DOMString qualifiedName, DOMString value); | 43 [RaisesException, CustomElementCallbacks] void setAttributeNS([TreatNullAs=N
ullString] DOMString namespaceURI, DOMString qualifiedName, DOMString value); |
| 44 [CustomElementCallbacks] void removeAttributeNS([TreatNullAs=NullString] DOM
String namespaceURI, DOMString localName); | 44 [CustomElementCallbacks] void removeAttributeNS([TreatNullAs=NullString] DOM
String namespaceURI, DOMString localName); |
| 45 HTMLCollection getElementsByTagNameNS([TreatNullAs=NullString] DOMString nam
espaceURI, DOMString localName); | 45 HTMLCollection getElementsByTagNameNS([TreatNullAs=NullString] DOMString nam
espaceURI, DOMString localName); |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 [PerWorldBindings] readonly attribute DOMTokenList classList; | 103 [PerWorldBindings] readonly attribute DOMTokenList classList; |
| 104 | 104 |
| 105 [PerWorldBindings] readonly attribute DOMStringMap dataset; | 105 [PerWorldBindings] readonly attribute DOMStringMap dataset; |
| 106 | 106 |
| 107 // WebKit extension | 107 // WebKit extension |
| 108 [RaisesException, ImplementedAs=matches, MeasureAs=ElementPrefixedMatchesSel
ector] boolean webkitMatchesSelector(DOMString selectors); | 108 [RaisesException, ImplementedAs=matches, MeasureAs=ElementPrefixedMatchesSel
ector] boolean webkitMatchesSelector(DOMString selectors); |
| 109 | 109 |
| 110 // Shadow DOM API | 110 // Shadow DOM API |
| 111 [RaisesException] ShadowRoot createShadowRoot(); | 111 [RaisesException] ShadowRoot createShadowRoot(); |
| 112 [PerWorldBindings] readonly attribute ShadowRoot shadowRoot; | 112 [PerWorldBindings] readonly attribute ShadowRoot shadowRoot; |
| 113 [PerWorldBindings] NodeList getDestinationInsertionPoints(); | 113 NodeList getDestinationInsertionPoints(); |
| 114 | 114 |
| 115 // CSSOM View Module API | 115 // CSSOM View Module API |
| 116 ClientRectList getClientRects(); | 116 ClientRectList getClientRects(); |
| 117 ClientRect getBoundingClientRect(); | 117 ClientRect getBoundingClientRect(); |
| 118 | 118 |
| 119 // Mozilla version | 119 // Mozilla version |
| 120 const unsigned short ALLOW_KEYBOARD_INPUT = 1; | 120 const unsigned short ALLOW_KEYBOARD_INPUT = 1; |
| 121 [PerWorldBindings, LogActivity, LogAllWorlds, MeasureAs=PrefixedElementReque
stFullScreen] void webkitRequestFullScreen([Default=Undefined] optional unsigned
short flags); | 121 [PerWorldBindings, LogActivity, LogAllWorlds, MeasureAs=PrefixedElementReque
stFullScreen] void webkitRequestFullScreen([Default=Undefined] optional unsigned
short flags); |
| 122 | 122 |
| 123 // W3C version | 123 // W3C version |
| (...skipping 15 matching lines...) Expand all Loading... |
| 139 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; | 139 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; |
| 140 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; | 140 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; |
| 141 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; | 141 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; |
| 142 attribute EventHandler onwebkitfullscreenchange; | 142 attribute EventHandler onwebkitfullscreenchange; |
| 143 attribute EventHandler onwebkitfullscreenerror; | 143 attribute EventHandler onwebkitfullscreenerror; |
| 144 [PerWorldBindings, LogActivity=SetterOnly] attribute EventHandler onwheel; | 144 [PerWorldBindings, LogActivity=SetterOnly] attribute EventHandler onwheel; |
| 145 }; | 145 }; |
| 146 | 146 |
| 147 Element implements ParentNode; | 147 Element implements ParentNode; |
| 148 Element implements ChildNode; | 148 Element implements ChildNode; |
| OLD | NEW |