1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 08:48:11 +00:00

LibWeb: Move font stretch width calc from StyleComputer to StyleValue

This commit is contained in:
Bastiaan van der Plaat 2023-08-07 21:44:10 +02:00 committed by Andreas Kling
parent eb6d41d99e
commit cc1f7d385c
3 changed files with 62 additions and 55 deletions

View file

@ -331,6 +331,7 @@ public:
[[nodiscard]] int to_font_weight() const;
[[nodiscard]] int to_font_slope() const;
[[nodiscard]] int to_font_stretch_width() const;
virtual bool equals(StyleValue const& other) const = 0;