
The intent is to use these to autogenerate prototype declarations for Window and WorkerGlobalScope classes. And the spec links are just nice to have :^)
14 lines
552 B
Text
14 lines
552 B
Text
// https://drafts.csswg.org/cssom/#cssstyledeclaration
|
|
[Exposed=Window]
|
|
interface CSSStyleDeclaration {
|
|
|
|
readonly attribute unsigned long length;
|
|
CSSOMString item(unsigned long index);
|
|
|
|
CSSOMString getPropertyValue(CSSOMString property);
|
|
CSSOMString getPropertyPriority(CSSOMString property);
|
|
|
|
[CEReactions] undefined setProperty(CSSOMString property, [LegacyNullToEmptyString] CSSOMString value, [LegacyNullToEmptyString] optional CSSOMString priority = "");
|
|
[CEReactions] CSSOMString removeProperty(CSSOMString property);
|
|
|
|
};
|