LibHTML: Use floating point numbers throughout the layout tree

This commit is contained in:
Andreas Kling 2019-11-18 16:25:38 +01:00
commit c628ebda0f
Notes: sideshowbarker 2024-07-19 11:09:31 +09:00
15 changed files with 59 additions and 52 deletions

View file

@ -32,7 +32,7 @@ public:
return *m_font;
}
int line_height() const;
float line_height() const;
bool operator==(const StyleProperties&) const;
bool operator!=(const StyleProperties& other) const { return !(*this == other); }