summaryrefslogtreecommitdiff
path: root/test/data/tree-construction/scripted/adoption01.dat
diff options
context:
space:
mode:
Diffstat (limited to 'test/data/tree-construction/scripted/adoption01.dat')
-rw-r--r--test/data/tree-construction/scripted/adoption01.dat15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/data/tree-construction/scripted/adoption01.dat b/test/data/tree-construction/scripted/adoption01.dat
new file mode 100644
index 0000000..4e08d0e
--- a/dev/null
+++ b/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"