1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 04:07:46 +00:00

LibWeb: Rename parse_css_declaration() -> parse_css_style_attribute()

This commit is contained in:
Sam Atkins 2022-03-28 15:57:20 +01:00 committed by Andreas Kling
parent bcbe258619
commit da1a819858
3 changed files with 3 additions and 3 deletions

View file

@ -255,7 +255,7 @@ void Element::parse_attribute(const FlyString& name, const String& value)
if (m_class_list)
m_class_list->associated_attribute_changed(value);
} else if (name == HTML::AttributeNames::style) {
auto parsed_style = parse_css_declaration(CSS::ParsingContext(document()), value);
auto parsed_style = parse_css_style_attribute(CSS::ParsingContext(document()), value);
if (!parsed_style.is_null()) {
m_inline_style = CSS::ElementInlineCSSStyleDeclaration::create_and_take_properties_from(*this, parsed_style.release_nonnull());
set_needs_style_update(true);