DependentLifetime,
WillBeGarbageCollected
] interface CSSStyleDeclaration {
- [TreatReturnedNullStringAs=Null, TreatNullAs=NullString, RaisesException=Setter] attribute DOMString cssText;
+ [RaisesException=Setter] attribute DOMString? cssText;
- [TreatReturnedNullStringAs=Null] DOMString getPropertyValue([Default=Undefined] optional DOMString propertyName);
- [TreatReturnedNullStringAs=Null, RaisesException] DOMString removeProperty([Default=Undefined] optional DOMString propertyName);
- [TreatReturnedNullStringAs=Null] DOMString getPropertyPriority([Default=Undefined] optional DOMString propertyName);
- [RaisesException] void setProperty([Default=Undefined] optional DOMString propertyName,
- [TreatNullAs=NullString,Default=Undefined] optional DOMString value,
- [TreatNullAs=NullString] optional DOMString priority = null);
+ DOMString? getPropertyValue([Default=Undefined] optional DOMString propertyName);
+ [RaisesException] DOMString? removeProperty([Default=Undefined] optional DOMString propertyName);
+ DOMString? getPropertyPriority([Default=Undefined] optional DOMString propertyName);
+ [RaisesException] void setProperty([Default=Undefined] optional DOMString propertyName,
+ [Default=Undefined] optional DOMString? value,
+ optional DOMString? priority = null);
readonly attribute unsigned long length;
getter DOMString item([Default=Undefined] optional unsigned long index);
[Custom=PropertyGetter|PropertyEnumerator|PropertyQuery] getter (DOMString or float) (DOMString name);
- [Custom] setter void (DOMString propertyName, [TreatNullAs=NullString] DOMString propertyValue);
+ [Custom] setter void (DOMString propertyName, DOMString? propertyValue);
readonly attribute CSSRule parentRule;
// Deprecated as of 2003: http://lists.w3.org/Archives/Public/www-style/2003Oct/0347.html