1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 15:47:44 +00:00

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.