diff --git a/tree-construction/template.dat b/tree-construction/template.dat
index 69c9b02..396362b 100644
--- a/tree-construction/template.dat
+++ b/tree-construction/template.dat
@@ -1560,6 +1560,9 @@ no doctype
#data
#errors
+no doctype
+template-after-head
+head-after-head
#document
|
|
@@ -1610,6 +1613,8 @@ eof table
#data
second
#errors
+#document-fragment
+template
#document
|
| content
diff --git a/tree-construction/webkit01.dat b/tree-construction/webkit01.dat
index 44150ce..d30e12e 100644
--- a/tree-construction/webkit01.dat
+++ b/tree-construction/webkit01.dat
@@ -363,6 +363,7 @@ console.log("FOOBARBAZ");
#errors
+no-doctype
#document
|
|
@@ -375,6 +376,7 @@ console.log("FOOBARBAZ");
#errors
+no-doctype
#document
|
|
diff --git a/tree-construction/webkit02.dat b/tree-construction/webkit02.dat
index a05f804..325568e 100644
--- a/tree-construction/webkit02.dat
+++ b/tree-construction/webkit02.dat
@@ -162,6 +162,9 @@
#data
#errors
+unexpected-b-end-tag
+unexpected-em-end-tag
+eof-in-aside
#document-fragment
div
#document
@@ -359,6 +362,8 @@ select
#data