CSSStyleDeclaration.idl [plain text]
[
JSCustomHeader,
JSCustomMarkFunction,
GenerateIsReachable,
JSCustomGetOwnPropertySlotAndDescriptor,
CustomNamedSetter,
CustomEnumerateProperty,
SkipVTableValidation,
] interface CSSStyleDeclaration {
[TreatReturnedNullStringAs=Null, TreatNullAs=NullString, SetterRaisesException] attribute DOMString cssText;
[TreatReturnedNullStringAs=Null] DOMString getPropertyValue([Default=Undefined] optional DOMString propertyName);
[Custom] CSSValue getPropertyCSSValue([Default=Undefined] optional DOMString propertyName);
[TreatReturnedNullStringAs=Null, RaisesException] DOMString removeProperty([Default=Undefined] optional DOMString propertyName);
[TreatReturnedNullStringAs=Null] DOMString getPropertyPriority([Default=Undefined] optional DOMString propertyName);
[ObjCLegacyUnnamedParameters, RaisesException] void setProperty([Default=Undefined] optional DOMString propertyName,
[TreatNullAs=NullString, Default=Undefined] optional DOMString value,
[Default=Undefined] optional DOMString priority);
readonly attribute unsigned long length;
getter DOMString item([Default=Undefined] optional unsigned long index);
readonly attribute CSSRule parentRule;
[TreatReturnedNullStringAs=Null] DOMString getPropertyShorthand([Default=Undefined] optional DOMString propertyName);
boolean isPropertyImplicit([Default=Undefined] optional DOMString propertyName);
};