2025-08-11 15:11:49 +01:00
|
|
|
#import <CSS/StylePropertyMapReadOnly.idl>
|
|
|
|
|
|
|
|
// https://drafts.css-houdini.org/css-typed-om-1/#stylepropertymap
|
|
|
|
[Exposed=Window]
|
|
|
|
interface StylePropertyMap : StylePropertyMapReadOnly {
|
|
|
|
undefined set(USVString property, (CSSStyleValue or USVString)... values);
|
|
|
|
undefined append(USVString property, (CSSStyleValue or USVString)... values);
|
|
|
|
undefined delete(USVString property);
|
|
|
|
undefined clear();
|
|
|
|
};
|
2025-08-11 16:07:02 +01:00
|
|
|
|
|
|
|
// https://drafts.css-houdini.org/css-typed-om-1/#declared-stylepropertymap-objects
|
|
|
|
partial interface CSSStyleRule {
|
|
|
|
[SameObject] readonly attribute StylePropertyMap styleMap;
|
|
|
|
};
|