diff --git a/html/syntax/parsing/adoption-agency-reparenting-cycle.html b/html/syntax/parsing/adoption-agency-reparenting-cycle.html
new file mode 100644
index 00000000000000..befa7c0b8bb9a5
--- /dev/null
+++ b/html/syntax/parsing/adoption-agency-reparenting-cycle.html
@@ -0,0 +1,25 @@
+
+
+
Adoption agency: move that would create a cycle (furthest block contains common ancestor)
+
+
+
+
+
+
diff --git a/html/syntax/parsing/adoption-agency-reparenting-document-target.html b/html/syntax/parsing/adoption-agency-reparenting-document-target.html
new file mode 100644
index 00000000000000..b237e3f0508983
--- /dev/null
+++ b/html/syntax/parsing/adoption-agency-reparenting-document-target.html
@@ -0,0 +1,26 @@
+
+
+Adoption agency: foster target is a Document with an element child
+
+
+
+
+
+
diff --git a/html/syntax/parsing/adoption-agency-reparenting-inner-loop-cycle.html b/html/syntax/parsing/adoption-agency-reparenting-inner-loop-cycle.html
new file mode 100644
index 00000000000000..0f6bc78bb7250c
--- /dev/null
+++ b/html/syntax/parsing/adoption-agency-reparenting-inner-loop-cycle.html
@@ -0,0 +1,26 @@
+
+
+Adoption agency: cycle after an inner-loop iteration
+
+
+
+
+
+
diff --git a/html/syntax/parsing/adoption-agency-reparenting-shadow-cycle.html b/html/syntax/parsing/adoption-agency-reparenting-shadow-cycle.html
new file mode 100644
index 00000000000000..c22b684cea802b
--- /dev/null
+++ b/html/syntax/parsing/adoption-agency-reparenting-shadow-cycle.html
@@ -0,0 +1,26 @@
+
+
+Adoption agency: host-including (shadow-crossing) cycle
+
+
+
+
+
+
diff --git a/html/syntax/parsing/adoption-agency-reparenting-template-cycle.html b/html/syntax/parsing/adoption-agency-reparenting-template-cycle.html
new file mode 100644
index 00000000000000..bf670cd1b7fe26
--- /dev/null
+++ b/html/syntax/parsing/adoption-agency-reparenting-template-cycle.html
@@ -0,0 +1,29 @@
+
+
+Adoption agency: host-including cycle via a template's contents
+
+
+
+
+
+
diff --git a/html/syntax/parsing/adoption-agency-reparenting.html b/html/syntax/parsing/adoption-agency-reparenting.html
new file mode 100644
index 00000000000000..71ed2cd94376c5
--- /dev/null
+++ b/html/syntax/parsing/adoption-agency-reparenting.html
@@ -0,0 +1,70 @@
+
+
+Adoption agency with nodes reparented by script during parsing
+
+
+
+
+
+
diff --git a/html/syntax/parsing/resources/adoption-agency-reparenting.js b/html/syntax/parsing/resources/adoption-agency-reparenting.js
new file mode 100644
index 00000000000000..434d29695eb6b0
--- /dev/null
+++ b/html/syntax/parsing/resources/adoption-agency-reparenting.js
@@ -0,0 +1,32 @@
+"use strict";
+
+// Shared helpers for the adoption-agency-reparenting tests.
+
+// Compact serializer: element -> [#id][children]; text -> "data".
+//