ladybird/Libraries/LibWeb/CSS/StylePropertyMap.idl

16 lines
597 B
Text
Raw Normal View History

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();
};
// https://drafts.css-houdini.org/css-typed-om-1/#declared-stylepropertymap-objects
partial interface CSSStyleRule {
[SameObject] readonly attribute StylePropertyMap styleMap;
};