mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:47:44 +00:00
LibHTML: Use floating point numbers throughout the layout tree
This commit is contained in:
parent
da23864c8d
commit
c628ebda0f
15 changed files with 59 additions and 52 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
#include <AK/NonnullRefPtr.h>
|
||||
#include <AK/Vector.h>
|
||||
#include <LibDraw/FloatRect.h>
|
||||
#include <LibDraw/Rect.h>
|
||||
#include <LibHTML/CSS/StyleProperties.h>
|
||||
#include <LibHTML/Layout/BoxModelMetrics.h>
|
||||
|
@ -108,7 +109,7 @@ public:
|
|||
template<typename T>
|
||||
T* first_ancestor_of_type();
|
||||
|
||||
Point box_type_agnostic_position() const;
|
||||
FloatPoint box_type_agnostic_position() const;
|
||||
|
||||
protected:
|
||||
explicit LayoutNode(const Node*);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue