mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
LibWeb: Add a missing spec-mandated return in Element::toggle_attribute
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user