Skip to content

Truly independent web browser

573 B
Raw Blame
// https://drafts.css-houdini.org/css-typed-om-1/#stylepropertymap
[Exposed=Window, ImplementedIn=Rust]
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;
};