LibWeb: Add a missing spec-mandated return in Element::toggle_attribute

This commit is contained in:
Timothy Flynn 2023-09-02 09:58:21 -04:00 committed by Tim Flynn
commit 50ec91fbe3
Notes: sideshowbarker 2024-07-17 01:27:18 +09:00

View file

@ -324,6 +324,8 @@ WebIDL::ExceptionOr<bool> Element::toggle_attribute(DeprecatedFlyString const& n
m_attributes->remove_attribute(name);
attribute_changed(name, {});
invalidate_style_after_attribute_change(name);
return false;
}
// 6. Return true.