Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 0993d23875f17c5b4dd76b392dcf7c80b907cdf6
https://github.com/WebKit/WebKit/commit/0993d23875f17c5b4dd76b392dcf7c80b907cdf6
Author: Ryosuke Niwa <[email protected]>
Date: 2024-01-12 (Fri, 12 Jan 2024)
Changed paths:
M Source/WebCore/dom/Document.cpp
M Source/WebCore/html/HTMLTagNames.in
Log Message:
-----------
HTMLTagNames.in should list MathML and SVG elements with hyphen in its name
https://bugs.webkit.org/show_bug.cgi?id=267444
Reviewed by Antti Koivisto.
This PR enlists MathML and SVG elements with hyphen in its name in
HTMLTagNames.in so that
HTMLElementFactory::createKnownElement will create HTMLUnknownElement for those
elements.
* Source/WebCore/dom/Document.cpp:
(WebCore::createUpgradeCandidateElement):
(WebCore::validateCustomElementNameWithoutCheckingStandardElementNames):
Extracted from
Document::validateCustomElementName.
(WebCore::isStandardElementName): Ditto.
(WebCore::Document::validateCustomElementName):
* Source/WebCore/html/HTMLTagNames.in:
Canonical link: https://commits.webkit.org/272980@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes