mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +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:
parent
e1e04884b9
commit
5a74486b59
Notes:
sideshowbarker
2024-07-17 02:28:18 +09:00
Author: https://github.com/awesomekling
Commit: 5a74486b59
Pull-request: https://github.com/SerenityOS/serenity/pull/19772
65 changed files with 99 additions and 99 deletions
|
@ -70,9 +70,9 @@ void SVGSVGElement::apply_presentational_hints(CSS::StyleProperties& style) cons
|
|||
}
|
||||
}
|
||||
|
||||
void SVGSVGElement::parse_attribute(DeprecatedFlyString const& name, DeprecatedString const& value)
|
||||
void SVGSVGElement::attribute_changed(DeprecatedFlyString const& name, DeprecatedString const& value)
|
||||
{
|
||||
SVGGraphicsElement::parse_attribute(name, value);
|
||||
SVGGraphicsElement::attribute_changed(name, value);
|
||||
|
||||
if (name.equals_ignoring_ascii_case(SVG::AttributeNames::viewBox))
|
||||
m_view_box = try_parse_view_box(value);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue