1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:27:35 +00:00

LibWeb: Add table-layout CSS property

This commit is contained in:
Andi Gallo 2023-08-07 01:32:52 +00:00 committed by Sam Atkins
parent a0ea87ffc6
commit 97512d0c76
7 changed files with 28 additions and 0 deletions

View file

@ -949,6 +949,12 @@ Optional<CSS::ObjectFit> StyleProperties::object_fit() const
return value_id_to_object_fit(value->to_identifier());
}
Optional<CSS::TableLayout> StyleProperties::table_layout() const
{
auto value = property(CSS::PropertyID::TableLayout);
return value_id_to_table_layout(value->to_identifier());
}
Color StyleProperties::stop_color() const
{
auto value = property(CSS::PropertyID::StopColor);