diff options
Diffstat (limited to 'tests/wpt/web-platform-tests/html/dom/dynamic-markup-insertion/document-write/044.html')
m--------- | tests/wpt/web-platform-tests | 0 | ||||
-rw-r--r-- | tests/wpt/web-platform-tests/html/dom/dynamic-markup-insertion/document-write/044.html | 17 |
2 files changed, 17 insertions, 0 deletions
diff --git a/tests/wpt/web-platform-tests b/tests/wpt/web-platform-tests deleted file mode 160000 -Subproject 29dfb8944e535d439ca94cf7d1b1d9138a8ad11 diff --git a/tests/wpt/web-platform-tests/html/dom/dynamic-markup-insertion/document-write/044.html b/tests/wpt/web-platform-tests/html/dom/dynamic-markup-insertion/document-write/044.html new file mode 100644 index 00000000000..4c9f50273cd --- /dev/null +++ b/tests/wpt/web-platform-tests/html/dom/dynamic-markup-insertion/document-write/044.html @@ -0,0 +1,17 @@ +<!doctype html> +<title>document.write</title> +<script src="/resources/testharness.js"></script><script src="/resources/testharnessreport.js"></script> +<script> +var t = async_test(); +t.step(function() { + document.write("<body><textarea><span>Filler</span></textarea>"); +}); +</script> +<script> +t.step(function() { + assert_equals(document.body.childNodes[0].localName, "textarea"); + assert_equals(document.body.childNodes[0].textContent, "<span>Filler</span>"); +}) +t.done(); +</script> +<div id="log"></div> |