Skip to content

Commit

Permalink
Cherry-pick 5590366. rdar://123641381
Browse files Browse the repository at this point in the history
    scanAttributeName doesn't need to check for "is" content attribute
    https://bugs.webkit.org/show_bug.cgi?id=270066

    Reviewed by Chris Dumez and Yusuke Suzuki.

    Since we don't support "is" content attribute, we don't need to check for its presence.

    * Source/WebCore/html/parser/HTMLDocumentParserFastPath.cpp:
    (WebCore::HTMLFastPathParser::scanAttributeName):

    Canonical link: https://commits.webkit.org/275331@main

Canonical link: https://commits.webkit.org/272448.645@safari-7618-branch
  • Loading branch information
rniwa authored and Dan Robson committed Feb 29, 2024
1 parent 2afc48f commit def30df
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Source/WebCore/html/parser/HTMLDocumentParserFastPath.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -585,8 +585,6 @@ class HTMLFastPathParser {
// fails. For example, an image's onload event.
return nullQName();
}
if (attributeName.size() == 2 && compareCharacters(attributeName.data(), 'i', 's'))
return nullQName();
return HTMLNameCache::makeAttributeQualifiedName(attributeName);
}

Expand Down

0 comments on commit def30df

Please sign in to comment.