mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16: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
|
@ -72,6 +72,8 @@ CSS::Size StyleProperties::size_value(CSS::PropertyID id) const
|
|||
return CSS::Size::make_min_content();
|
||||
case ValueID::MaxContent:
|
||||
return CSS::Size::make_max_content();
|
||||
case ValueID::FitContent:
|
||||
return CSS::Size::make_fit_content();
|
||||
case ValueID::None:
|
||||
return CSS::Size::make_none();
|
||||
default:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue