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:
parent
a0ea87ffc6
commit
97512d0c76
7 changed files with 28 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue