diff --git a/html/syntax/parsing/html5lib_innerHTML_foreign-fragment.html b/html/syntax/parsing/html5lib_innerHTML_foreign-fragment.html
index aae79094140910..d2c342b7aef783 100644
--- a/html/syntax/parsing/html5lib_innerHTML_foreign-fragment.html
+++ b/html/syntax/parsing/html5lib_innerHTML_foreign-fragment.html
@@ -15,9 +15,9 @@
html5lib Parser Test
diff --git a/html/syntax/parsing/html5lib_innerHTML_svg.html b/html/syntax/parsing/html5lib_innerHTML_svg.html
new file mode 100644
index 00000000000000..1fa379d88d2bdb
--- /dev/null
+++ b/html/syntax/parsing/html5lib_innerHTML_svg.html
@@ -0,0 +1,25 @@
+
+
+
+
+ HTML 5 Parser tests html5lib_innerHTML_svg.html
+
+
+
+ html5lib Parser Test
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/html/syntax/parsing/html5lib_tests26.html b/html/syntax/parsing/html5lib_tests26.html
index 49566d2feb41ae..2b3849b00b6b30 100644
--- a/html/syntax/parsing/html5lib_tests26.html
+++ b/html/syntax/parsing/html5lib_tests26.html
@@ -18,9 +18,9 @@ html5lib Parser Test
diff --git a/html/tools/build.sh b/html/tools/build.sh
index b7e0f5f4b9651d..92185c23bb1050 100755
--- a/html/tools/build.sh
+++ b/html/tools/build.sh
@@ -6,7 +6,7 @@ virtualenv -p python3 .virtualenv
.virtualenv/bin/pip install genshi
git clone https://github.com/html5lib/html5lib-python.git .virtualenv/html5lib && cd .virtualenv/html5lib || cd .virtualenv/html5lib && git pull
# Pinned commit, to avoid html5lib from changing underneath us.
-git reset --hard ad3bde76737e07b0369ac64c1dd2231e857e2baa
+git reset --hard f7cab6f019ce94a1ec0192b6ff29aaebaf10b50d
git submodule update --init --recursive
cd ../..
.virtualenv/bin/pip install -e .virtualenv/html5lib