ladybird/Libraries/LibWeb/CSS/StylePropertyMapReadOnly.idl
Andreas Kling 96521f7df0 LibWeb: Take UTF-16 names in Typed OM property maps
Move StylePropertyMap, StylePropertyMapReadOnly, and the CSS.supports
property-name overload to Utf16FlyString. Request the UTF-16 binding
conversion path for their IDL property-name arguments.
2026-06-09 11:48:02 +02:00

14 lines
626 B
Text

// 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();
};