mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-05 01:42:54 +00:00
LibHTML: Use floating point numbers throughout the layout tree
This commit is contained in:
parent
da23864c8d
commit
c628ebda0f
Notes:
sideshowbarker
2024-07-19 11:09:31 +09:00
Author: https://github.com/awesomekling
Commit: c628ebda0f
15 changed files with 59 additions and 52 deletions
|
@ -17,10 +17,10 @@ public:
|
|||
const LengthBox& border() const { return m_border; }
|
||||
|
||||
struct PixelBox {
|
||||
int top;
|
||||
int right;
|
||||
int bottom;
|
||||
int left;
|
||||
float top;
|
||||
float right;
|
||||
float bottom;
|
||||
float left;
|
||||
};
|
||||
|
||||
PixelBox full_margin() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue