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 |
65 // Common extensions | 67 // Common extensions |
66 | 68 |
67 [PerWorldBindings] readonly attribute long offsetLeft; | 69 [PerWorldBindings] readonly attribute long offsetLeft; |
68 [PerWorldBindings] readonly attribute long offsetTop; | 70 [PerWorldBindings] readonly attribute long offsetTop; |
69 [PerWorldBindings] readonly attribute long offsetWidth; | 71 [PerWorldBindings] readonly attribute long offsetWidth; |
70 [PerWorldBindings] readonly attribute long offsetHeight; | 72 [PerWorldBindings] readonly attribute long offsetHeight; |
71 [ImplementedAs=bindingsOffsetParent, PerWorldBindings] readonly attribute El
ement offsetParent; | 73 [ImplementedAs=bindingsOffsetParent, PerWorldBindings] readonly attribute El
ement offsetParent; |
72 [PerWorldBindings] readonly attribute long clientLeft; | 74 [PerWorldBindings] readonly attribute long clientLeft; |
73 [PerWorldBindings] readonly attribute long clientTop; | 75 [PerWorldBindings] readonly attribute long clientTop; |
74 [PerWorldBindings] readonly attribute long clientWidth; | 76 [PerWorldBindings] readonly attribute long clientWidth; |
(...skipping 22 matching lines...) Expand all Loading... |
97 [Reflect=class, PerWorldBindings] attribute DOMString className; | 99 [Reflect=class, PerWorldBindings] attribute DOMString className; |
98 [PerWorldBindings] readonly attribute DOMTokenList classList; | 100 [PerWorldBindings] readonly attribute DOMTokenList classList; |
99 | 101 |
100 [PerWorldBindings] readonly attribute DOMStringMap dataset; | 102 [PerWorldBindings] readonly attribute DOMStringMap dataset; |
101 | 103 |
102 // NodeSelector - Selector API | 104 // NodeSelector - Selector API |
103 [RaisesException] Element querySelector(DOMString selectors); | 105 [RaisesException] Element querySelector(DOMString selectors); |
104 [RaisesException] NodeList querySelectorAll(DOMString selectors); | 106 [RaisesException] NodeList querySelectorAll(DOMString selectors); |
105 | 107 |
106 // WebKit extension | 108 // WebKit extension |
107 [RaisesException, MeasureAs=ElementPrefixedMatchesSelector] boolean webkitMa
tchesSelector([Default=Undefined] optional DOMString selectors); | 109 [RaisesException, ImplementedAs=matches, MeasureAs=ElementPrefixedMatchesSel
ector] boolean webkitMatchesSelector(DOMString selectors); |
108 | 110 |
109 // Shadow DOM API | 111 // Shadow DOM API |
110 [RuntimeEnabled=ShadowDOM, RaisesException] ShadowRoot createShadowRoot(); | 112 [RuntimeEnabled=ShadowDOM, RaisesException] ShadowRoot createShadowRoot(); |
111 [RuntimeEnabled=ShadowDOM, PerWorldBindings] readonly attribute ShadowRoot s
hadowRoot; | 113 [RuntimeEnabled=ShadowDOM, PerWorldBindings] readonly attribute ShadowRoot s
hadowRoot; |
112 [RuntimeEnabled=ShadowDOM, PerWorldBindings] NodeList getDestinationInsertio
nPoints(); | 114 [RuntimeEnabled=ShadowDOM, PerWorldBindings] NodeList getDestinationInsertio
nPoints(); |
113 | 115 |
114 // To-be-deprecated prefixed Shadow DOM API | 116 // To-be-deprecated prefixed Shadow DOM API |
115 [ImplementedAs=createShadowRoot, RaisesException, MeasureAs=ShadowDOMPrefixe
dCreateShadowRoot] ShadowRoot webkitCreateShadowRoot(); | 117 [ImplementedAs=createShadowRoot, RaisesException, MeasureAs=ShadowDOMPrefixe
dCreateShadowRoot] ShadowRoot webkitCreateShadowRoot(); |
116 [ImplementedAs=shadowRoot, PerWorldBindings, MeasureAs=ShadowDOMPrefixedShad
owRoot] readonly attribute ShadowRoot webkitShadowRoot; | 118 [ImplementedAs=shadowRoot, PerWorldBindings, MeasureAs=ShadowDOMPrefixedShad
owRoot] readonly attribute ShadowRoot webkitShadowRoot; |
117 | 119 |
(...skipping 27 matching lines...) Expand all Loading... |
145 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; | 147 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; |
146 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; | 148 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; |
147 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; | 149 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; |
148 attribute EventHandler onwebkitfullscreenchange; | 150 attribute EventHandler onwebkitfullscreenchange; |
149 attribute EventHandler onwebkitfullscreenerror; | 151 attribute EventHandler onwebkitfullscreenerror; |
150 [PerWorldBindings, ActivityLogging=SetterForIsolatedWorlds] attribute EventH
andler onwheel; | 152 [PerWorldBindings, ActivityLogging=SetterForIsolatedWorlds] attribute EventH
andler onwheel; |
151 }; | 153 }; |
152 | 154 |
153 Element implements ParentNode; | 155 Element implements ParentNode; |
154 Element implements ChildNode; | 156 Element implements ChildNode; |
OLD | NEW |