mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-19 15:43:20 +00:00
LibWeb/CSS: Implement rectify_a_numberish_value()
This commit is contained in:
parent
222ca9e2cd
commit
46b55f0f46
Notes:
github-actions[bot]
2025-08-29 10:00:31 +00:00
Author: https://github.com/AtkinsSJ
Commit: 46b55f0f46
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5955
Reviewed-by: https://github.com/trflynn89
2 changed files with 18 additions and 0 deletions
|
@ -56,4 +56,6 @@ protected:
|
|||
// https://drafts.css-houdini.org/css-typed-om-1/#typedefdef-cssnumberish
|
||||
using CSSNumberish = Variant<double, GC::Root<CSSNumericValue>>;
|
||||
|
||||
GC::Ref<CSSNumericValue> rectify_a_numberish_value(JS::Realm&, CSSNumberish const&, Optional<FlyString> unit = {});
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue