Index: pkg/third_party/html5lib/test/data/tree-construction/scripted/adoption01.dat |
diff --git a/pkg/third_party/html5lib/test/data/tree-construction/scripted/adoption01.dat b/pkg/third_party/html5lib/test/data/tree-construction/scripted/adoption01.dat |
new file mode 100644 |
index 0000000000000000000000000000000000000000..4e08d0e84a0731e092670d0219934bf8f3d8ee95 |
--- /dev/null |
+++ b/pkg/third_party/html5lib/test/data/tree-construction/scripted/adoption01.dat |
@@ -0,0 +1,15 @@ |
+#data |
+<p><b id="A"><script>document.getElementById("A").id = "B"</script></p>TEXT</b> |
+#errors |
+#document |
+| <html> |
+| <head> |
+| <body> |
+| <p> |
+| <b> |
+| id="B" |
+| <script> |
+| "document.getElementById("A").id = "B"" |
+| <b> |
+| id="A" |
+| "TEXT" |