ladybird/Libraries/LibWeb/CSS/CSSStyleValue.idl
Andreas Kling d641bfd7e2 LibWeb: Store custom property names as UTF-16
Move PropertyNameAndID, custom property data, registered custom
properties, and Typed OM associated property names to Utf16FlyString.

This removes the FlyString storage boundary from CSS property-name
handling and lets CSSStyleProperties keep the name it receives from
CSSOM instead of converting it back to UTF-8.
2026-06-09 11:48:02 +02:00

7 lines
365 B
Text

// https://drafts.css-houdini.org/css-typed-om-1/#cssstylevalue
[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
interface CSSStyleValue {
stringifier;
[Exposed=Window] static CSSStyleValue parse(Utf16USVString property, USVString cssText);
[Exposed=Window] static sequence<CSSStyleValue> parseAll(Utf16USVString property, USVString cssText);
};