LibWeb/CSS: Remove unused StyleProperties::grid_area()
This does not appear to be correct; the `grid-area` property's value is quite complicated, and not just a string.
This commit is contained in:
parent
b1d7a27468
commit
d2f04b9f04
Notes:
sideshowbarker
2024-07-18 02:44:51 +09:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/LadybirdBrowser/ladybird/commit/d2f04b9f041 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/681 Reviewed-by: https://github.com/tcl3 ✅
2 changed files with 0 additions and 7 deletions
|
@ -997,12 +997,6 @@ 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().string_value();
|
||||
}
|
||||
|
||||
Optional<CSS::ObjectFit> StyleProperties::object_fit() const
|
||||
{
|
||||
auto value = property(CSS::PropertyID::ObjectFit);
|
||||
|
|
|
@ -132,7 +132,6 @@ public:
|
|||
CSS::GridTrackPlacement grid_row_start() const;
|
||||
Optional<CSS::BorderCollapse> border_collapse() const;
|
||||
Vector<Vector<String>> grid_template_areas() const;
|
||||
String grid_area() const;
|
||||
Optional<CSS::ObjectFit> object_fit() const;
|
||||
CSS::ObjectPosition object_position() const;
|
||||
Optional<CSS::TableLayout> table_layout() const;
|
||||
|
|
Loading…
Add table
Reference in a new issue