mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2026-06-27 19:51:03 +00:00
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.
14 lines
626 B
Text
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();
|
|
};
|