mirror of
https://github.com/RGBCube/serenity
synced 2025-05-25 21:15:06 +00:00
LibHTML: Add Length and LengthBox classes.
We need a way to represent values that are "auto", so adding a Length class seems like the easiest way to achieve that.
This commit is contained in:
parent
a190f67450
commit
33ac0de988
4 changed files with 49 additions and 18 deletions
10
LibHTML/CSS/LengthBox.h
Normal file
10
LibHTML/CSS/LengthBox.h
Normal file
|
@ -0,0 +1,10 @@
|
|||
#pragma once
|
||||
|
||||
#include <LibHTML/CSS/Length.h>
|
||||
|
||||
struct LengthBox {
|
||||
Length top;
|
||||
Length right;
|
||||
Length bottom;
|
||||
Length left;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue