mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-04 23:29:52 +00:00
LibWeb/CSS: Implement CSSMathClamp
As the final CSSMathFoo class, this makes the serialization test finally run instead of crashing.
This commit is contained in:
parent
dd3007dcd7
commit
177395155a
Notes:
github-actions[bot]
2025-08-29 09:59:11 +00:00
Author: https://github.com/AtkinsSJ
Commit: 177395155a
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5955
Reviewed-by: https://github.com/trflynn89
11 changed files with 200 additions and 9 deletions
11
Libraries/LibWeb/CSS/CSSMathClamp.idl
Normal file
11
Libraries/LibWeb/CSS/CSSMathClamp.idl
Normal file
|
@ -0,0 +1,11 @@
|
|||
#import <CSS/CSSMathValue.idl>
|
||||
#import <CSS/CSSNumericValue.idl>
|
||||
|
||||
// https://drafts.css-houdini.org/css-typed-om-1/#cssmathclamp
|
||||
[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
|
||||
interface CSSMathClamp : CSSMathValue {
|
||||
constructor(CSSNumberish lower, CSSNumberish value, CSSNumberish upper);
|
||||
readonly attribute CSSNumericValue lower;
|
||||
readonly attribute CSSNumericValue value;
|
||||
readonly attribute CSSNumericValue upper;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue