mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-26 22:38:51 +00:00
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:
parent
40cb36607c
commit
022141647a
Notes:
github-actions[bot]
2024-12-14 20:12:21 +00:00
Author: https://github.com/tcl3
Commit: 022141647a
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2891
7 changed files with 101 additions and 4 deletions
|
@ -45,6 +45,11 @@ WebIDL::ExceptionOr<void> HTMLButtonElement::set_type(String const& type)
|
|||
return set_attribute(HTML::AttributeNames::type, type);
|
||||
}
|
||||
|
||||
void HTMLButtonElement::form_associated_element_attribute_changed(FlyString const& name, Optional<String> const& value, Optional<FlyString> const& namespace_)
|
||||
{
|
||||
PopoverInvokerElement::associated_attribute_changed(name, value, namespace_);
|
||||
}
|
||||
|
||||
void HTMLButtonElement::visit_edges(Visitor& visitor)
|
||||
{
|
||||
Base::visit_edges(visitor);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue