Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8e6de7844cbbe195f4f71cec376dba02c6ad2fd2
      
https://github.com/WebKit/WebKit/commit/8e6de7844cbbe195f4f71cec376dba02c6ad2fd2
  Author: Chris Dumez <[email protected]>
  Date:   2023-04-01 (Sat, 01 Apr 2023)

  Changed paths:
    M Source/WebCore/dom/make_names.pl
    M Source/WebCore/html/parser/HTMLDocumentParserFastPath.cpp

  Log Message:
  -----------
  Update HTMLFastPathParser::scanTagName() to return an ElementName
https://bugs.webkit.org/show_bug.cgi?id=254857

Reviewed by Darin Adler.

Update HTMLFastPathParser::scanTagName() to return an ElementName enum instead
of a Span<Character>. This simplifies the logic in the HTML fast parser and is
slightly more efficient.

* Source/WebCore/dom/make_names.pl:
(printElementNameHeaderFile):
(printElementNameCppFile):
* Source/WebCore/html/parser/HTMLDocumentParserFastPath.cpp:
(WebCore::HTMLFastPathParser::scanTagName):
(WebCore::HTMLFastPathParser::parseSpecificElements):
(WebCore::HTMLFastPathParser::parseElement):
(WebCore::onlyContainsLowercaseASCIILetters): Deleted.
(WebCore::tagNameHash): Deleted.

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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to