aboutsummaryrefslogtreecommitdiff
path: root/tests/html5lib-tests/tree-construction/scripted/adoption01.dat
diff options
context:
space:
mode:
Diffstat (limited to 'tests/html5lib-tests/tree-construction/scripted/adoption01.dat')
-rw-r--r--tests/html5lib-tests/tree-construction/scripted/adoption01.dat16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/html5lib-tests/tree-construction/scripted/adoption01.dat b/tests/html5lib-tests/tree-construction/scripted/adoption01.dat
new file mode 100644
index 0000000..5cc0f07
--- /dev/null
+++ b/tests/html5lib-tests/tree-construction/scripted/adoption01.dat
@@ -0,0 +1,16 @@
+#data
+<p><b id="A"><script>document.getElementById("A").id = "B"</script></p>TEXT</b>
+#errors
+#script-on
+#document
+| <html>
+| <head>
+| <body>
+| <p>
+| <b>
+| id="B"
+| <script>
+| "document.getElementById("A").id = "B""
+| <b>
+| id="A"
+| "TEXT"