LibWeb: Implement PopoverInvokerElement attribute change steps

PopoverInvokerElement's explicitly set attr-element should be set to
null whenever the value of the `popovertarget` content attribute is
changed.
This commit is contained in:
Tim Ledbetter 2024-12-12 19:53:04 +00:00 committed by Tim Flynn
commit 022141647a
Notes: github-actions[bot] 2024-12-14 20:12:21 +00:00
7 changed files with 101 additions and 4 deletions

View file

@ -40,6 +40,8 @@ public:
TypeAttributeState type_state() const;
WebIDL::ExceptionOr<void> set_type(String const&);
virtual void form_associated_element_attribute_changed(FlyString const& name, Optional<String> const& value, Optional<FlyString> const& namespace_) override;
// ^EventTarget
// https://html.spec.whatwg.org/multipage/interaction.html#the-tabindex-attribute:the-button-element
// https://html.spec.whatwg.org/multipage/interaction.html#focusable-area