LibWeb: Add missing super call in SVGSymbolElement::attribute_changed()

This would cause subsequent commits to break tests otherwise.
This commit is contained in:
Andreas Kling 2023-11-02 17:00:12 +01:00
parent 83c3490bc4
commit e205f93cbb
Notes: sideshowbarker 2024-07-16 23:55:09 +09:00

View file

@ -41,6 +41,7 @@ void SVGSymbolElement::apply_presentational_hints(CSS::StyleProperties& style) c
void SVGSymbolElement::attribute_changed(FlyString const& name, Optional<DeprecatedString> const& value)
{
Base::attribute_changed(name, value);
if (name.equals_ignoring_ascii_case(SVG::AttributeNames::viewBox))
m_view_box = try_parse_view_box(value.value_or(""));
}