ladybird/Libraries/LibWeb/CSS/StylePropertyMapReadOnly.idl
Sam Atkins 1620fc5bf6 LibWeb/CSS: Stub out StylePropertyMapReadOnly
Nothing yet produces this, and the useful parts of get() and get_all()
will have to wait until type reification is implemented.
2025-08-13 09:47:50 +01:00

12 lines
495 B
Text

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