summaryrefslogtreecommitdiffstats
path: root/parser/htmlparser/tests/reftest/document-write.html
diff options
context:
space:
mode:
Diffstat (limited to 'parser/htmlparser/tests/reftest/document-write.html')
-rw-r--r--parser/htmlparser/tests/reftest/document-write.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/parser/htmlparser/tests/reftest/document-write.html b/parser/htmlparser/tests/reftest/document-write.html
new file mode 100644
index 0000000000..b70a15c567
--- /dev/null
+++ b/parser/htmlparser/tests/reftest/document-write.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<head>
+<link rel="mismatch" href="references/document-write-ref.html">
+<script>document.write('<meta char' + 'set="windows-1251">');</script>
+</head>
+<body>
+<p>Meta from <code>document.write</code> (with concatenation in the middle of <code>charset</code> to require execution for effect).</p>
+<p>Test: æ</p>
+<p>If &#x0436;, meta takes effect</p>
+</body>