2025-08-11 10:28:57 -03:00
|
|
|
// https://drafts.css-houdini.org/css-typed-om-1/#stylepropertymapreadonly
|
2025-08-14 07:13:02 -03:00
|
|
|
[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
|
2025-08-11 10:28:57 -03:00
|
|
|
interface StylePropertyMapReadOnly {
|
|
|
|
|
// FIXME: iterable<USVString, sequence<CSSStyleValue>>;
|
2026-06-08 15:35:13 -03:00
|
|
|
(undefined or CSSStyleValue) get(Utf16USVString property);
|
|
|
|
|
sequence<CSSStyleValue> getAll(Utf16USVString property);
|
|
|
|
|
boolean has(Utf16USVString property);
|
2025-08-11 10:28:57 -03:00
|
|
|
readonly attribute unsigned long size;
|
|
|
|
|
};
|
2025-08-11 10:27:07 -03:00
|
|
|
|
|
|
|
|
// https://drafts.css-houdini.org/css-typed-om-1/#computed-stylepropertymapreadonly-objects
|
|
|
|
|
partial interface Element {
|
|
|
|
|
[SameObject] StylePropertyMapReadOnly computedStyleMap();
|
|
|
|
|
};
|