2022-10-07 19:45:09 -03:00
|
|
|
// https://drafts.csswg.org/cssom/#cssstyledeclaration
|
2023-09-06 04:07:24 -03:00
|
|
|
[Exposed=Window]
|
2021-03-13 18:39:55 -03:00
|
|
|
interface CSSStyleDeclaration {
|
2022-11-05 01:51:05 -03:00
|
|
|
[CEReactions] attribute CSSOMString cssText;
|
|
|
|
|
|
2021-03-13 18:39:55 -03:00
|
|
|
readonly attribute unsigned long length;
|
2023-09-29 12:48:28 -03:00
|
|
|
getter CSSOMString item(unsigned long index);
|
2021-03-13 18:39:55 -03:00
|
|
|
|
2021-09-12 15:44:17 -03:00
|
|
|
CSSOMString getPropertyValue(CSSOMString property);
|
2022-04-11 15:48:50 -03:00
|
|
|
CSSOMString getPropertyPriority(CSSOMString property);
|
2021-09-12 15:44:17 -03:00
|
|
|
|
2023-03-05 18:55:22 -03:00
|
|
|
[CEReactions] undefined setProperty(CSSOMString property, [LegacyNullToEmptyString] CSSOMString value, optional [LegacyNullToEmptyString] CSSOMString priority = "");
|
2022-04-11 11:10:55 -03:00
|
|
|
[CEReactions] CSSOMString removeProperty(CSSOMString property);
|
2021-09-26 14:06:17 -03:00
|
|
|
|
2024-06-14 11:38:23 -03:00
|
|
|
readonly attribute CSSRule? parentRule;
|
2021-03-13 18:39:55 -03:00
|
|
|
};
|