mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-04 08:01:51 +00:00
This readonly attribute returns the containing CSS rule, or null (in the case of element inline style).
19 lines
736 B
Text
19 lines
736 B
Text
// https://drafts.csswg.org/cssom/#cssstyledeclaration
|
|
[Exposed=Window]
|
|
interface CSSStyleDeclaration {
|
|
|
|
[CEReactions] attribute CSSOMString cssText;
|
|
|
|
readonly attribute unsigned long length;
|
|
getter CSSOMString item(unsigned long index);
|
|
|
|
CSSOMString getPropertyValue(CSSOMString property);
|
|
CSSOMString getPropertyPriority(CSSOMString property);
|
|
|
|
[CEReactions] undefined setProperty(CSSOMString property, [LegacyNullToEmptyString] CSSOMString value, optional [LegacyNullToEmptyString] CSSOMString priority = "");
|
|
[CEReactions] CSSOMString removeProperty(CSSOMString property);
|
|
|
|
readonly attribute CSSRule? parentRule;
|
|
[FIXME, CEReactions, LegacyNullToEmptyString] attribute CSSOMString cssFloat;
|
|
|
|
};
|