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 11 matching lines...) Expand all Loading... |
22 [ | 22 [ |
23 DependentLifetime | 23 DependentLifetime |
24 ] interface CSSStyleDeclaration { | 24 ] interface CSSStyleDeclaration { |
25 [TreatReturnedNullStringAs=Null, TreatNullAs=NullString, RaisesExce
ption=Setter] attribute DOMString cssText; | 25 [TreatReturnedNullStringAs=Null, TreatNullAs=NullString, RaisesExce
ption=Setter] attribute DOMString cssText; |
26 | 26 |
27 [TreatReturnedNullStringAs=Null] DOMString getPropertyValue([Defaul
t=Undefined] optional DOMString propertyName); | 27 [TreatReturnedNullStringAs=Null] DOMString getPropertyValue([Defaul
t=Undefined] optional DOMString propertyName); |
28 [TreatReturnedNullStringAs=Null, RaisesException] DOMString removeP
roperty([Default=Undefined] optional DOMString propertyName); | 28 [TreatReturnedNullStringAs=Null, RaisesException] DOMString removeP
roperty([Default=Undefined] optional DOMString propertyName); |
29 [TreatReturnedNullStringAs=Null] DOMString getPropertyPriority([Def
ault=Undefined] optional DOMString propertyName); | 29 [TreatReturnedNullStringAs=Null] DOMString getPropertyPriority([Def
ault=Undefined] optional DOMString propertyName); |
30 [RaisesException] void setProperty([Default=Undefined] optional DOMString p
ropertyName, | 30 [RaisesException] void setProperty([Default=Undefined] optional DOMString p
ropertyName, |
31 [TreatNullAs=NullString,Default=Undefined] o
ptional DOMString value, | 31 [TreatNullAs=NullString,Default=Undefined] o
ptional DOMString value, |
32 [Default=Undefined] optional DOMString prior
ity); | 32 [TreatNullAs=NullString,Default=NullString]
optional DOMString priority); |
33 | 33 |
34 readonly attribute unsigned long length; | 34 readonly attribute unsigned long length; |
35 getter DOMString item([Default=Undefined] optional unsigned long in
dex); | 35 getter DOMString item([Default=Undefined] optional unsigned long in
dex); |
36 [Custom=PropertyGetter|PropertyEnumerator|PropertyQuery] getter (DOMString o
r float) (DOMString name); | 36 [Custom=PropertyGetter|PropertyEnumerator|PropertyQuery] getter (DOMString o
r float) (DOMString name); |
37 [Custom] setter void (DOMString propertyName, [TreatNullAs=NullString] DOMSt
ring propertyValue); | 37 [Custom] setter void (DOMString propertyName, [TreatNullAs=NullString] DOMSt
ring propertyValue); |
38 readonly attribute CSSRule parentRule; | 38 readonly attribute CSSRule parentRule; |
39 | 39 |
40 // Deprecated as of 2003: http://lists.w3.org/Archives/Public/www-style/2003
Oct/0347.html | 40 // Deprecated as of 2003: http://lists.w3.org/Archives/Public/www-style/2003
Oct/0347.html |
41 // FIXME: This should be DeprecateAs=, but currently too many LayoutTests us
e | 41 // FIXME: This should be DeprecateAs=, but currently too many LayoutTests us
e |
42 // this function and would need CONSOLE: message rebaselines! | 42 // this function and would need CONSOLE: message rebaselines! |
43 [MeasureAs=CSSStyleDeclarationGetPropertyCSSValue] CSSValue getPro
pertyCSSValue([Default=Undefined] optional DOMString propertyName); | 43 [MeasureAs=CSSStyleDeclarationGetPropertyCSSValue] CSSValue getPro
pertyCSSValue([Default=Undefined] optional DOMString propertyName); |
44 }; | 44 }; |
45 | 45 |
OLD | NEW |