mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-04 07:09:41 +00:00
We don't serialize these the way WPT expects, because we don't implement the comment-insertion rules from CSS-Syntax. We don't implement that for regular serialization either, so it's something we can worry about later.
16 lines
769 B
Text
16 lines
769 B
Text
#import <CSS/CSSStyleValue.idl>
|
|
#import <CSS/CSSVariableReferenceValue.idl>
|
|
|
|
// https://drafts.css-houdini.org/css-typed-om-1/#cssunparsedvalue
|
|
[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
|
|
interface CSSUnparsedValue : CSSStyleValue {
|
|
constructor(sequence<CSSUnparsedSegment> members);
|
|
readonly attribute unsigned long length;
|
|
getter CSSUnparsedSegment (unsigned long index);
|
|
setter undefined (unsigned long index, CSSUnparsedSegment val);
|
|
// FIXME: Different order from the spec, because our IDL parser needs the indexed getter to be defined already.
|
|
iterable<CSSUnparsedSegment>;
|
|
};
|
|
|
|
// https://drafts.css-houdini.org/css-typed-om-1/#typedefdef-cssunparsedsegment
|
|
typedef (USVString or CSSVariableReferenceValue) CSSUnparsedSegment;
|