diff options
Diffstat (limited to 'testing/web-platform/tests/html/webappapis/dynamic-markup-insertion/document-write/042.html')
-rw-r--r-- | testing/web-platform/tests/html/webappapis/dynamic-markup-insertion/document-write/042.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/testing/web-platform/tests/html/webappapis/dynamic-markup-insertion/document-write/042.html b/testing/web-platform/tests/html/webappapis/dynamic-markup-insertion/document-write/042.html new file mode 100644 index 0000000000..e15f1d0c0f --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/dynamic-markup-insertion/document-write/042.html @@ -0,0 +1,16 @@ +<!doctype html> +<title>document.write entity</title> +<script src="/resources/testharness.js"></script><script src="/resources/testharnessreport.js"></script> +<script> +var t = async_test(); +t.step(function() { + document.write("<body><span>¬"); +}); +</script>in;abc</span> +<script> +t.step(function() { + assert_equals(document.body.childNodes[0].textContent, "\u2209abc"); +}) +t.done(); +</script> +<div id="log"></div> |