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, |
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 * Library General Public License for more details. | 13 * Library General Public License for more details. |
14 * | 14 * |
15 * You should have received a copy of the GNU Library General Public License | 15 * You should have received a copy of the GNU Library General Public License |
16 * along with this library; see the file COPYING.LIB. If not, write to | 16 * along with this library; see the file COPYING.LIB. If not, write to |
17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
18 * Boston, MA 02110-1301, USA. | 18 * Boston, MA 02110-1301, USA. |
19 */ | 19 */ |
20 | 20 |
21 // Introduced in DOM Level 2: | 21 // Introduced in DOM Level 2: |
22 [ | 22 [ |
23 JSCustomHeader, | |
24 JSCustomMarkFunction, | |
25 JSGenerateIsReachable, | |
26 JSCustomGetOwnPropertySlotAndDescriptor, | |
27 CustomNamedSetter, | 23 CustomNamedSetter, |
28 #if defined(V8_BINDING) && V8_BINDING | 24 #if defined(V8_BINDING) && V8_BINDING |
29 NamedGetter, | 25 NamedGetter, |
30 #endif | 26 #endif |
31 IndexedGetter, | 27 IndexedGetter, |
32 CustomEnumerateProperty, | 28 CustomEnumerateProperty, |
33 V8DependentLifetime, | 29 V8DependentLifetime, |
34 V8SkipVTableValidation | 30 V8SkipVTableValidation |
35 ] interface CSSStyleDeclaration { | 31 ] interface CSSStyleDeclaration { |
36 [TreatReturnedNullStringAs=Null, TreatNullAs=NullString] attribute
DOMString cssText | 32 [TreatReturnedNullStringAs=Null, TreatNullAs=NullString] attribute
DOMString cssText |
37 setter raises(DOMException); | 33 setter raises(DOMException); |
38 | 34 |
39 [TreatReturnedNullStringAs=Null] DOMString getPropertyValue(in [Opt
ional=DefaultIsUndefined] DOMString propertyName); | 35 [TreatReturnedNullStringAs=Null] DOMString getPropertyValue(in [Opt
ional=DefaultIsUndefined] DOMString propertyName); |
40 [JSCustom] CSSValue getPropertyCSSValue(in [Optional=DefaultIsUnde
fined] DOMString propertyName); | 36 CSSValue getPropertyCSSValue(in [Optional=DefaultIsUndefined] DOMS
tring propertyName); |
41 [TreatReturnedNullStringAs=Null] DOMString removeProperty(in [Optio
nal=DefaultIsUndefined] DOMString propertyName) | 37 [TreatReturnedNullStringAs=Null] DOMString removeProperty(in [Optio
nal=DefaultIsUndefined] DOMString propertyName) |
42 raises(DOMException); | 38 raises(DOMException); |
43 [TreatReturnedNullStringAs=Null] DOMString getPropertyPriority(in [
Optional=DefaultIsUndefined] DOMString propertyName); | 39 [TreatReturnedNullStringAs=Null] DOMString getPropertyPriority(in [
Optional=DefaultIsUndefined] DOMString propertyName); |
44 [ObjCLegacyUnnamedParameters] void setProperty(in [Optional=DefaultIsUndefin
ed] DOMString propertyName, | 40 [ObjCLegacyUnnamedParameters] void setProperty(in [Optional=DefaultIsUndefin
ed] DOMString propertyName, |
45 in [TreatNullAs=NullString,Optional=DefaultI
sUndefined] DOMString value, | 41 in [TreatNullAs=NullString,Optional=DefaultI
sUndefined] DOMString value, |
46 in [Optional=DefaultIsUndefined] DOMString p
riority) | 42 in [Optional=DefaultIsUndefined] DOMString p
riority) |
47 raises(DOMException); | 43 raises(DOMException); |
48 | 44 |
49 readonly attribute unsigned long length; | 45 readonly attribute unsigned long length; |
50 DOMString item(in [Optional=DefaultIsUndefined] unsigned long index
); | 46 DOMString item(in [Optional=DefaultIsUndefined] unsigned long index
); |
51 readonly attribute CSSRule parentRule; | 47 readonly attribute CSSRule parentRule; |
52 | 48 |
53 // Extensions | 49 // Extensions |
54 [TreatReturnedNullStringAs=Null] DOMString getPropertyShorthand(in
[Optional=DefaultIsUndefined] DOMString propertyName); | 50 [TreatReturnedNullStringAs=Null] DOMString getPropertyShorthand(in
[Optional=DefaultIsUndefined] DOMString propertyName); |
55 boolean isPropertyImplicit(in [Optional=DefaultIsUndefined] DOMSt
ring propertyName); | 51 boolean isPropertyImplicit(in [Optional=DefaultIsUndefined] DOMSt
ring propertyName); |
56 }; | 52 }; |
57 | 53 |
OLD | NEW |