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:
parent
c78506d79b
commit
50ec91fbe3
1 changed files with 2 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue