mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 19:58:11 +00:00
LibWeb: Parse grid-template-areas
CSS property
This commit is contained in:
parent
0448547553
commit
a6548c4d80
10 changed files with 101 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue