mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 19:59:17 +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
Notes:
sideshowbarker
2024-07-17 18:13:59 +09:00
Author: https://github.com/martinfalisse
Commit: a5f042b424
Pull-request: https://github.com/SerenityOS/serenity/pull/15612
Reviewed-by: https://github.com/awesomekling ✅
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