summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2022-11-10 11:40:01 +0100
committerAndreas Kling <kling@serenityos.org>2022-11-16 13:01:21 +0100
commite9eba663618582bf4160911cbbb2fa61a979b939 (patch)
tree89085477e010524d6ea24f539f27842ad3b1838b
parent1b5b7e3b0196f404446521fceff4b63a08419ead (diff)
downloadserenity-e9eba663618582bf4160911cbbb2fa61a979b939.zip
LibWeb: Adjust `foreignobject` to `foreignObject` in HTML parser
This conversion was missing from the table we copied from the spec for whatever reason.
-rw-r--r--Userland/Libraries/LibWeb/HTML/Parser/HTMLParser.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/Parser/HTMLParser.cpp b/Userland/Libraries/LibWeb/HTML/Parser/HTMLParser.cpp
index a11250d6c7..dbd8601ec2 100644
--- a/Userland/Libraries/LibWeb/HTML/Parser/HTMLParser.cpp
+++ b/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("fespecularlighting", "feSpecularLighting");
token.adjust_tag_name("fespotlight", "feSpotlight");
+ token.adjust_tag_name("foreignobject", "foreignObject");
token.adjust_tag_name("glyphref", "glyphRef");
token.adjust_tag_name("lineargradient", "linearGradient");
token.adjust_tag_name("radialgradient", "radialGradient");