LibWeb/CSS: Implement rectify_a_numberish_value()

This commit is contained in:
Sam Atkins 2025-08-21 12:44:57 +01:00 committed by Andreas Kling
parent 222ca9e2cd
commit 46b55f0f46
Notes: github-actions[bot] 2025-08-29 10:00:31 +00:00
2 changed files with 18 additions and 0 deletions

View file

@ -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 = {});
}