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
parent c78506d79b
commit 50ec91fbe3

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.