mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:37:35 +00:00
LibWeb: Add fit-content as a valid size value for CSS width
This commit is contained in:
parent
1dfb065a9c
commit
09eb3ef405
5 changed files with 12 additions and 1 deletions
|
@ -33,6 +33,7 @@ public:
|
|||
static Size make_min_content();
|
||||
static Size make_max_content();
|
||||
static Size make_fit_content(Length available_space);
|
||||
static Size make_fit_content();
|
||||
static Size make_none();
|
||||
|
||||
bool is_auto() const { return m_type == Type::Auto; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue