Assuming people review bug 254755 as a favorable change, we should consider doing the same for SVG tag names. Source/WebCore/dom/make_names.pl has a generic capability to create adjustXTagName where X can be any language, but we only need it for SVG, only in the HTML parser, and only for the tag names the HTML Standard lists (which should be a fixed list for eternity).
Inlining the function is pretty straightforward, but removing all support for CaseAdjusted atoms from Source/WebCore/dom/make_names.pl as well is a bit more involved. Is inlining adjustSVGTagName into HTMLTreeBuilder a good enough first step?
<rdar://problem/107802125>