[webkit-changes] [WebKit/WebKit] 0a2095: Opportunistically match built-in elements in creat...

Ryosuke Niwa noreply at github.com
Mon Oct 16 16:23:51 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0a209521829e185dec49e36f65f9c6bca28dfc2b
      https://github.com/WebKit/WebKit/commit/0a209521829e185dec49e36f65f9c6bca28dfc2b
  Author: Ryosuke Niwa <rniwa at webkit.org>
  Date:   2023-10-16 (Mon, 16 Oct 2023)

  Changed paths:
    M Source/WebCore/dom/Document.cpp

  Log Message:
  -----------
  Opportunistically match built-in elements in createElementNS
https://bugs.webkit.org/show_bug.cgi?id=263151

Reviewed by Chris Dumez.

Look up the element factory before validating the qualified name.

* Source/WebCore/dom/Document.cpp:
(WebCore::Document::createElementNS):
(WebCore::isValidNameASCIIWithoutColon):
(WebCore::Document::parseQualifiedName):

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




More information about the webkit-changes mailing list