LibWeb/CSS: Add math expression support for transform-origin

This commit is contained in:
Ankush Chatterjee 2024-10-23 22:15:19 +05:30 committed by Andreas Kling
commit 85356094b5
Notes: github-actions[bot] 2024-10-27 09:35:38 +00:00
3 changed files with 7 additions and 2 deletions

View file

@ -6929,6 +6929,9 @@ RefPtr<CSSStyleValue> Parser::parse_transform_origin_value(TokenStream<Component
return OptionalNone {};
}
}
if (value->is_math()) {
return AxisOffset { Axis::None, value->as_math() };
}
return OptionalNone {};
};