mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:38:11 +00:00
LibWeb: Parse auto-fill and auto-fit attributes
Parse auto-fill and auto-fit attributes for the CSS Grid.
This commit is contained in:
parent
3cba4b6e41
commit
a5f042b424
3 changed files with 31 additions and 2 deletions
|
@ -84,6 +84,13 @@ ExplicitTrackSizing::ExplicitTrackSizing(Vector<CSS::MetaGridTrackSize> meta_gri
|
|||
{
|
||||
}
|
||||
|
||||
ExplicitTrackSizing::ExplicitTrackSizing(Vector<CSS::MetaGridTrackSize> meta_grid_track_sizes, Type type)
|
||||
: m_meta_grid_track_sizes(meta_grid_track_sizes)
|
||||
, m_is_auto_fill(type == Type::AutoFill)
|
||||
, m_is_auto_fit(type == Type::AutoFit)
|
||||
{
|
||||
}
|
||||
|
||||
String ExplicitTrackSizing::to_string() const
|
||||
{
|
||||
StringBuilder builder;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue