Explorar o código

LibWeb: Adjust `foreignobject` to `foreignObject` in HTML parser

This conversion was missing from the table we copied from the spec
for whatever reason.
Andreas Kling %!s(int64=2) %!d(string=hai) anos
pai
achega
e9eba66361
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      Userland/Libraries/LibWeb/HTML/Parser/HTMLParser.cpp

+ 1 - 0
Userland/Libraries/LibWeb/HTML/Parser/HTMLParser.cpp

@@ -2131,6 +2131,7 @@ void HTMLParser::adjust_svg_tag_names(HTMLToken& token)
     token.adjust_tag_name("fepointlight", "fePointLight");
     token.adjust_tag_name("fepointlight", "fePointLight");
     token.adjust_tag_name("fespecularlighting", "feSpecularLighting");
     token.adjust_tag_name("fespecularlighting", "feSpecularLighting");
     token.adjust_tag_name("fespotlight", "feSpotlight");
     token.adjust_tag_name("fespotlight", "feSpotlight");
+    token.adjust_tag_name("foreignobject", "foreignObject");
     token.adjust_tag_name("glyphref", "glyphRef");
     token.adjust_tag_name("glyphref", "glyphRef");
     token.adjust_tag_name("lineargradient", "linearGradient");
     token.adjust_tag_name("lineargradient", "linearGradient");
     token.adjust_tag_name("radialgradient", "radialGradient");
     token.adjust_tag_name("radialgradient", "radialGradient");