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