LibWeb: Update the HTMLDetailsElement attribute change steps

No functional change here, but this contains spec steps to handle the
'name' attribute (not implemented here).
This commit is contained in:
Timothy Flynn 2025-01-15 11:19:12 -05:00 committed by Andreas Kling
parent b3b9eea986
commit 1fb1d5fcb9
Notes: github-actions[bot] 2025-01-17 09:23:33 +00:00
2 changed files with 31 additions and 11 deletions

View file

@ -34,7 +34,7 @@ private:
virtual void inserted() override;
virtual void removed_from(DOM::Node*) override;
virtual void children_changed() override;
virtual void attribute_changed(FlyString const& name, Optional<String> const& old_value, Optional<String> const& value, Optional<FlyString> const& namespace_) override;
virtual void attribute_changed(FlyString const& local_name, Optional<String> const& old_value, Optional<String> const& value, Optional<FlyString> const& namespace_) override;
void queue_a_details_toggle_event_task(String old_state, String new_state);