mirror of
https://github.com/RGBCube/serenity
synced 2025-05-23 18:05:08 +00:00
LibWeb: Reset form association when the element's form attribute changes
This commit is contained in:
parent
23fb1209af
commit
960dcf0e56
12 changed files with 75 additions and 40 deletions
|
@ -37,7 +37,7 @@ class HTMLImageElement final
|
|||
public:
|
||||
virtual ~HTMLImageElement() override;
|
||||
|
||||
virtual void attribute_changed(FlyString const& name, Optional<String> const& value) override;
|
||||
virtual void form_associated_element_attribute_changed(FlyString const& name, Optional<String> const& value) override;
|
||||
|
||||
String alt() const { return get_attribute_value(HTML::AttributeNames::alt); }
|
||||
String src() const { return get_attribute_value(HTML::AttributeNames::src); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue