mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
LibWeb: Parse grid-template-areas CSS property
This commit is contained in:
committed by
Andreas Kling
parent
0448547553
commit
a6548c4d80
@@ -745,4 +745,10 @@ Optional<CSS::BorderCollapse> StyleProperties::border_collapse() const
|
||||
return value_id_to_border_collapse(value->to_identifier());
|
||||
}
|
||||
|
||||
Vector<Vector<String>> StyleProperties::grid_template_areas() const
|
||||
{
|
||||
auto value = property(CSS::PropertyID::GridTemplateAreas);
|
||||
return value->as_grid_template_area().grid_template_area();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user