mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibWeb/CSS: Implement CSSUnparsedValue and CSSVariableReferenceValue
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.
This commit is contained in:
Notes:
github-actions[bot]
2025-08-21 09:23:12 +00:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/LadybirdBrowser/ladybird/commit/6428c9990d2 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5901
9
Libraries/LibWeb/CSS/CSSVariableReferenceValue.idl
Normal file
9
Libraries/LibWeb/CSS/CSSVariableReferenceValue.idl
Normal file
@@ -0,0 +1,9 @@
|
||||
#import <CSS/CSSUnparsedValue.idl>
|
||||
|
||||
// https://drafts.css-houdini.org/css-typed-om-1/#cssvariablereferencevalue
|
||||
[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
|
||||
interface CSSVariableReferenceValue {
|
||||
constructor(USVString variable, optional CSSUnparsedValue? fallback = null);
|
||||
attribute USVString variable;
|
||||
readonly attribute CSSUnparsedValue? fallback;
|
||||
};
|
||||
Reference in New Issue
Block a user