Revert "LibWeb/CSS: Rename CalculatedStyleValue -> CSSMathValue"

This reverts commit 76daba3069.

We're going to need separate types for the JS-exposed style values, so
it doesn't make sense for us to match their names with our internal
types.
This commit is contained in:
Sam Atkins 2024-12-11 15:05:56 +00:00 committed by Andreas Kling
commit 69a0f28d04
Notes: github-actions[bot] 2024-12-21 17:15:55 +00:00
37 changed files with 391 additions and 391 deletions

View file

@ -29,7 +29,7 @@ public:
static Size make_px(CSSPixels);
static Size make_length(Length);
static Size make_percentage(Percentage);
static Size make_calculated(NonnullRefPtr<CSSMathValue>);
static Size make_calculated(NonnullRefPtr<CalculatedStyleValue>);
static Size make_min_content();
static Size make_max_content();
static Size make_fit_content(Length available_space);
@ -49,7 +49,7 @@ public:
bool contains_percentage() const;
CSSMathValue const& calculated() const
CalculatedStyleValue const& calculated() const
{
VERIFY(is_calculated());
return m_length_percentage.calculated();