Parcourir la source

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

This would cause subsequent commits to break tests otherwise.
Andreas Kling il y a 1 an
Parent
commit
e205f93cbb
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      Userland/Libraries/LibWeb/SVG/SVGSymbolElement.cpp

+ 1 - 0
Userland/Libraries/LibWeb/SVG/SVGSymbolElement.cpp

@@ -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(""));
 }