LibWeb: Parse the shape-rendering property

This commit is contained in:
Tim Ledbetter 2025-08-16 17:48:30 +01:00 committed by Sam Atkins
commit 1d745884be
Notes: github-actions[bot] 2025-08-19 08:48:57 +00:00
20 changed files with 110 additions and 13 deletions

View file

@ -1911,6 +1911,12 @@ ScrollbarWidth ComputedProperties::scrollbar_width() const
return keyword_to_scrollbar_width(value.to_keyword()).release_value();
}
ShapeRendering ComputedProperties::shape_rendering() const
{
auto const& value = property(PropertyID::ShapeRendering);
return keyword_to_shape_rendering(value.to_keyword()).release_value();
}
WillChange ComputedProperties::will_change() const
{
auto const& value = property(PropertyID::WillChange);