RESOLVED FIXED309054
Remove SVGUnknownElement WPT test case which is not part of SVG2
https://bugs.webkit.org/show_bug.cgi?id=309054
Summary Remove SVGUnknownElement WPT test case which is not part of SVG2
Karl Dubost
Reported 2026-03-03 01:41:34 PST
Removed SVGUnknownElement due to lack of implementations. https://w3c.github.io/svgwg/svg2-draft/single-page.html#:~:text=Removed%20SVGUnknownElement%20due%20to%20lack%20of%20implementations. This test needs to be removed.
Attachments
Karl Dubost
Comment 1 2026-03-03 01:42:14 PST
Radar WebKit Bug Importer
Comment 2 2026-03-03 01:51:56 PST
Karl Dubost
Comment 3 2026-03-03 02:11:14 PST
I realized. There is an SVGUnknownElement implementation https://searchfox.org/wubkat/search?q=SVGUnknownElement&path=&case=false&regexp=false Not called from anywhere though. So I thought let's remove it. Source/WebCore/svg/SVGUnknownElement.cpp Source/WebCore/svg/SVGUnknownElement.h But then I found: https://searchfox.org/wubkat/rev/f9409a9efaa94496294843a103b04c45487df72f/Source/WebCore/svg/svgtags.in#3-11 ``` fallbackInterfaceName="SVGUnknownElement" fallbackJSInterfaceName="SVGElement" a altGlyph JSInterfaceName=SVGElement altGlyphDef JSInterfaceName=SVGElement altGlyphItem JSInterfaceName=SVGElement animate animateColor interfaceName=SVGUnknownElement, JSInterfaceName=SVGElement, noConstructor ``` what is the purpose of animateColor here and its interface with SVGUnknownElement? Oh it's when @Ahmad Saleem tried to remove animateColor. https://searchfox.org/wubkat/diff/1674e8f0e5b811710ca6f0b03e4d708a53768958/Source/WebCore/svg/svgtags.in#11 https://github.com/WebKit/WebKit/commit/1674e8f0e5b811710ca6f0b03e4d708a53768958 https://github.com/WebKit/WebKit/pull/25671 I could just remove the test. But now I'm looking at it, I wonder if we could remove the SVGUnknownElement too.
Karl Dubost
Comment 4 2026-03-03 02:26:47 PST
EWS
Comment 5 2026-03-04 00:42:04 PST
Committed 308619@main (097af8a9cdec): <https://commits.webkit.org/308619@main> Reviewed commits have been landed. Closing PR #59789 and removing active labels.
Karl Dubost
Comment 6 2026-03-04 00:46:59 PST
Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/58245
Note You need to log in before you can comment on or make changes to this bug.