mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-04 15:19:16 +00:00
The "subdivide into iterations" part is left as a FIXME for now, until we have a way of knowing if a property is a list or not. The parse_a_css_style_value() helper has an unwieldy return type because of the requirement that it return either one value or a list of values, but sticking to the spec here seems worthwhile for now.
7 lines
355 B
Text
7 lines
355 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(USVString property, USVString cssText);
|
|
[Exposed=Window] static sequence<CSSStyleValue> parseAll(USVString property, USVString cssText);
|
|
};
|