// https://drafts.css-houdini.org/css-typed-om-1/#stylepropertymapreadonly
[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
interface StylePropertyMapReadOnly {
    // FIXME: iterable<USVString, sequence<CSSStyleValue>>;
    (undefined or CSSStyleValue) get(Utf16USVString property);
    sequence<CSSStyleValue> getAll(Utf16USVString property);
    boolean has(Utf16USVString property);
    readonly attribute unsigned long size;
};

// https://drafts.css-houdini.org/css-typed-om-1/#computed-stylepropertymapreadonly-objects
partial interface Element {
    [SameObject] StylePropertyMapReadOnly computedStyleMap();
};
