LibWeb/CSS: Implement the empty-cells property

This property sets whether table borders and backgrounds are painted
if a given table cell has no visible content.
This commit is contained in:
Tim Ledbetter 2025-06-18 12:28:18 +01:00 committed by Sam Atkins
parent a0cef5a7da
commit e0af205d69
Notes: github-actions[bot] 2025-06-18 13:56:15 +00:00
22 changed files with 253 additions and 10 deletions

View file

@ -1577,6 +1577,12 @@ BorderCollapse ComputedProperties::border_collapse() const
return keyword_to_border_collapse(value.to_keyword()).release_value();
}
EmptyCells ComputedProperties::empty_cells() const
{
auto const& value = property(PropertyID::EmptyCells);
return keyword_to_empty_cells(value.to_keyword()).release_value();
}
Vector<Vector<String>> ComputedProperties::grid_template_areas() const
{
auto const& value = property(PropertyID::GridTemplateAreas);