LibWeb: Remove unnecessary lowercase name property from Attr

This commit is contained in:
Tim Ledbetter 2025-11-10 16:55:59 +00:00 committed by Andreas Kling
parent b7a71ca950
commit 61af399b50
Notes: github-actions[bot] 2025-11-10 21:56:38 +00:00
3 changed files with 1 additions and 4 deletions

View file

@ -3749,7 +3749,7 @@ static void for_each_element_hash(DOM::Element const& element, auto callback)
for (auto const& class_ : element.class_names())
callback(class_.hash());
element.for_each_attribute([&](auto& attribute) {
callback(attribute.lowercase_name().hash());
callback(attribute.name().ascii_case_insensitive_hash());
});
}