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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 boolean hasAttributeNS([TreatNullAs=NullString] DOMString namespaceURI, DOMS
tring localName); | 50 boolean hasAttributeNS([TreatNullAs=NullString] DOMString namespaceURI, DOMS
tring localName); |
51 | 51 |
52 [PerWorldBindings] readonly attribute CSSStyleDeclaration style; | 52 [PerWorldBindings] readonly attribute CSSStyleDeclaration style; |
53 | 53 |
54 // DOM4 | 54 // DOM4 |
55 [Reflect] attribute DOMString id; | 55 [Reflect] attribute DOMString id; |
56 [TreatReturnedNullStringAs=Null, PerWorldBindings] readonly attribute DOMStr
ing namespaceURI; | 56 [TreatReturnedNullStringAs=Null, PerWorldBindings] readonly attribute DOMStr
ing namespaceURI; |
57 [TreatReturnedNullStringAs=Null, TreatNullAs=NullString, PerWorldBindings, R
aisesException=Setter] attribute DOMString prefix; | 57 [TreatReturnedNullStringAs=Null, TreatNullAs=NullString, PerWorldBindings, R
aisesException=Setter] attribute DOMString prefix; |
58 [TreatReturnedNullStringAs=Null, PerWorldBindings] readonly attribute DOMStr
ing localName; | 58 [TreatReturnedNullStringAs=Null, PerWorldBindings] readonly attribute DOMStr
ing localName; |
59 | 59 |
| 60 [RaisesException] boolean matches(DOMString selectors); |
| 61 |
60 // Common extensions | 62 // Common extensions |
61 | 63 |
62 [PerWorldBindings] readonly attribute long offsetLeft; | 64 [PerWorldBindings] readonly attribute long offsetLeft; |
63 [PerWorldBindings] readonly attribute long offsetTop; | 65 [PerWorldBindings] readonly attribute long offsetTop; |
64 [PerWorldBindings] readonly attribute long offsetWidth; | 66 [PerWorldBindings] readonly attribute long offsetWidth; |
65 [PerWorldBindings] readonly attribute long offsetHeight; | 67 [PerWorldBindings] readonly attribute long offsetHeight; |
66 [ImplementedAs=bindingsOffsetParent, PerWorldBindings] readonly attribute El
ement offsetParent; | 68 [ImplementedAs=bindingsOffsetParent, PerWorldBindings] readonly attribute El
ement offsetParent; |
67 [PerWorldBindings] readonly attribute long clientLeft; | 69 [PerWorldBindings] readonly attribute long clientLeft; |
68 [PerWorldBindings] readonly attribute long clientTop; | 70 [PerWorldBindings] readonly attribute long clientTop; |
69 [PerWorldBindings] readonly attribute long clientWidth; | 71 [PerWorldBindings] readonly attribute long clientWidth; |
(...skipping 21 matching lines...) Expand all Loading... |
91 [Reflect=class, PerWorldBindings] attribute DOMString className; | 93 [Reflect=class, PerWorldBindings] attribute DOMString className; |
92 [PerWorldBindings] readonly attribute DOMTokenList classList; | 94 [PerWorldBindings] readonly attribute DOMTokenList classList; |
93 | 95 |
94 [PerWorldBindings] readonly attribute DOMStringMap dataset; | 96 [PerWorldBindings] readonly attribute DOMStringMap dataset; |
95 | 97 |
96 // NodeSelector - Selector API | 98 // NodeSelector - Selector API |
97 [RaisesException] Element querySelector(DOMString selectors); | 99 [RaisesException] Element querySelector(DOMString selectors); |
98 [RaisesException] NodeList querySelectorAll(DOMString selectors); | 100 [RaisesException] NodeList querySelectorAll(DOMString selectors); |
99 | 101 |
100 // WebKit extension | 102 // WebKit extension |
101 [RaisesException, MeasureAs=ElementPrefixedMatchesSelector] boolean webkitMa
tchesSelector([Default=Undefined] optional DOMString selectors); | 103 [RaisesException, ImplementedAs=matches, MeasureAs=ElementPrefixedMatchesSel
ector] boolean webkitMatchesSelector(DOMString selectors); |
102 | 104 |
103 // Shadow DOM API | 105 // Shadow DOM API |
104 [RuntimeEnabled=ShadowDOM, Reflect, TreatNullAs=NullString, PerWorldBindings
] attribute DOMString pseudo; | 106 [RuntimeEnabled=ShadowDOM, Reflect, TreatNullAs=NullString, PerWorldBindings
] attribute DOMString pseudo; |
105 [RuntimeEnabled=ShadowDOM, RaisesException] ShadowRoot createShadowRoot(); | 107 [RuntimeEnabled=ShadowDOM, RaisesException] ShadowRoot createShadowRoot(); |
106 [RuntimeEnabled=ShadowDOM, PerWorldBindings] readonly attribute ShadowRoot s
hadowRoot; | 108 [RuntimeEnabled=ShadowDOM, PerWorldBindings] readonly attribute ShadowRoot s
hadowRoot; |
107 [RuntimeEnabled=ShadowDOM, PerWorldBindings] NodeList getDestinationInsertio
nPoints(); | 109 [RuntimeEnabled=ShadowDOM, PerWorldBindings] NodeList getDestinationInsertio
nPoints(); |
108 | 110 |
109 // To-be-deprecated prefixed Shadow DOM API | 111 // To-be-deprecated prefixed Shadow DOM API |
110 [Reflect=pseudo, TreatNullAs=NullString, ImplementedAs=pseudo, PerWorldBindi
ngs, MeasureAs=ShadowDOMPrefixedPseudo] attribute DOMString webkitPseudo; | 112 [Reflect=pseudo, TreatNullAs=NullString, ImplementedAs=pseudo, PerWorldBindi
ngs, MeasureAs=ShadowDOMPrefixedPseudo] attribute DOMString webkitPseudo; |
111 [ImplementedAs=createShadowRoot, RaisesException, MeasureAs=ShadowDOMPrefixe
dCreateShadowRoot] ShadowRoot webkitCreateShadowRoot(); | 113 [ImplementedAs=createShadowRoot, RaisesException, MeasureAs=ShadowDOMPrefixe
dCreateShadowRoot] ShadowRoot webkitCreateShadowRoot(); |
(...skipping 29 matching lines...) Expand all Loading... |
141 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; | 143 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; |
142 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; | 144 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; |
143 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; | 145 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; |
144 attribute EventHandler onwebkitfullscreenchange; | 146 attribute EventHandler onwebkitfullscreenchange; |
145 attribute EventHandler onwebkitfullscreenerror; | 147 attribute EventHandler onwebkitfullscreenerror; |
146 [PerWorldBindings, ActivityLogging=SetterForIsolatedWorlds] attribute EventH
andler onwheel; | 148 [PerWorldBindings, ActivityLogging=SetterForIsolatedWorlds] attribute EventH
andler onwheel; |
147 }; | 149 }; |
148 | 150 |
149 Element implements ParentNode; | 151 Element implements ParentNode; |
150 Element implements ChildNode; | 152 Element implements ChildNode; |
OLD | NEW |