ladybird/Libraries/LibWeb/CSS/StylePropertyMap.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

13 lines
568 B
Text

// https://drafts.css-houdini.org/css-typed-om-1/#stylepropertymap
[Exposed=Window]
interface StylePropertyMap : StylePropertyMapReadOnly {
undefined set(Utf16USVString property, (CSSStyleValue or USVString)... values);
undefined append(Utf16USVString property, (CSSStyleValue or USVString)... values);
undefined delete(Utf16USVString property);
undefined clear();
};
// https://drafts.css-houdini.org/css-typed-om-1/#declared-stylepropertymap-objects
partial interface CSSStyleRule {
[SameObject] readonly attribute StylePropertyMap styleMap;
};