mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 05:48:12 +00:00
LibWeb: Use FlyString for element attribute names
Attribute names occur again and again.
This commit is contained in:
parent
26bc3d4ea0
commit
7f83f77377
6 changed files with 19 additions and 18 deletions
|
@ -58,7 +58,7 @@ void HTMLBodyElement::apply_presentational_hints(StyleProperties& style) const
|
|||
});
|
||||
}
|
||||
|
||||
void HTMLBodyElement::parse_attribute(const String& name, const String& value)
|
||||
void HTMLBodyElement::parse_attribute(const FlyString& name, const String& value)
|
||||
{
|
||||
if (name.equals_ignoring_case("link")) {
|
||||
auto color = Color::from_string(value);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue