mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-07 21:59:54 +00:00
LibWeb: Remove unnecessary lowercase name property from Attr
This commit is contained in:
parent
b7a71ca950
commit
61af399b50
Notes:
github-actions[bot]
2025-11-10 21:56:38 +00:00
Author: https://github.com/tcl3
Commit: 61af399b50
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6779
3 changed files with 1 additions and 4 deletions
|
|
@ -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());
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue