mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-02 05:46:20 +00:00
LibWeb: Rename DOM::Element::parse_attribute() => attribute_changed()
This is a first step towards merging attribute change and removal notifications into a single function.
This commit is contained in:
@@ -45,9 +45,9 @@ void HTMLBaseElement::removed_from(Node* parent)
|
||||
document().update_base_element({});
|
||||
}
|
||||
|
||||
void HTMLBaseElement::parse_attribute(DeprecatedFlyString const& name, DeprecatedString const& value)
|
||||
void HTMLBaseElement::attribute_changed(DeprecatedFlyString const& name, DeprecatedString const& value)
|
||||
{
|
||||
HTMLElement::parse_attribute(name, value);
|
||||
HTMLElement::attribute_changed(name, value);
|
||||
|
||||
// The frozen base URL must be immediately set for an element whenever any of the following situations occur:
|
||||
// - The base element is the first base element in tree order with an href content attribute in its Document, and its href content attribute is changed.
|
||||
|
||||
Reference in New Issue
Block a user