mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:18:11 +00:00
Everywhere: Rename equals_ignoring_case => equals_ignoring_ascii_case
Let's make it clear that these functions deal with ASCII case only.
This commit is contained in:
parent
03cc45e5a2
commit
a504ac3e2a
76 changed files with 480 additions and 476 deletions
|
@ -153,7 +153,7 @@ Attr const* NamedNodeMap::get_attribute(StringView qualified_name, size_t* item_
|
|||
// 2. Return the first attribute in element’s attribute list whose qualified name is qualifiedName; otherwise null.
|
||||
for (auto const& attribute : m_attributes) {
|
||||
if (compare_as_lowercase) {
|
||||
if (attribute->name().equals_ignoring_case(qualified_name))
|
||||
if (attribute->name().equals_ignoring_ascii_case(qualified_name))
|
||||
return attribute.ptr();
|
||||
} else {
|
||||
if (attribute->name() == qualified_name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue