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
|
|
|
|
2026-06-08 15:22:06 -03:00
|
|
|
CSSOMString getPropertyValue(Utf16CSSOMString property);
|
|
|
|
|
CSSOMString getPropertyPriority(Utf16CSSOMString property);
|
2021-09-12 15:44:17 -03:00
|
|
|
|
2026-06-08 15:22:06 -03:00
|
|
|
[CEReactions] undefined setProperty(Utf16CSSOMString property, [LegacyNullToEmptyString] CSSOMString value, optional [LegacyNullToEmptyString] CSSOMString priority = "");
|
|
|
|
|
[CEReactions] CSSOMString removeProperty(Utf16CSSOMString 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
|
|
|
};
|