LibWeb: Store font-width in ComputedProperties in computed form

This commit is contained in:
Callum Law 2025-09-02 20:43:10 +12:00 committed by Sam Atkins
commit 335c8c7ffb
Notes: github-actions[bot] 2025-09-19 09:08:05 +00:00
10 changed files with 264 additions and 200 deletions

View file

@ -2109,4 +2109,9 @@ double ComputedProperties::font_weight() const
return property(PropertyID::FontWeight).as_number().number();
}
Percentage ComputedProperties::font_width() const
{
return property(PropertyID::FontWidth).as_percentage().percentage();
}
}