mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:17:44 +00:00
LibWeb: Parse grid-area
CSS property
This commit is contained in:
parent
a6548c4d80
commit
9bc001f410
10 changed files with 220 additions and 0 deletions
|
@ -751,4 +751,10 @@ Vector<Vector<String>> StyleProperties::grid_template_areas() const
|
|||
return value->as_grid_template_area().grid_template_area();
|
||||
}
|
||||
|
||||
String StyleProperties::grid_area() const
|
||||
{
|
||||
auto value = property(CSS::PropertyID::GridArea);
|
||||
return value->as_string().to_string().release_value_but_fixme_should_propagate_errors();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue