summaryrefslogtreecommitdiffstats
path: root/LayoutTests/fast/encoding/misplaced-xml-declaration.html
diff options
context:
space:
mode:
Diffstat (limited to 'LayoutTests/fast/encoding/misplaced-xml-declaration.html')
-rw-r--r--LayoutTests/fast/encoding/misplaced-xml-declaration.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/LayoutTests/fast/encoding/misplaced-xml-declaration.html b/LayoutTests/fast/encoding/misplaced-xml-declaration.html
new file mode 100644
index 0000000..b4f559d
--- /dev/null
+++ b/LayoutTests/fast/encoding/misplaced-xml-declaration.html
@@ -0,0 +1,10 @@
+ <?xml version="1.0" encoding="koi8-r"?>
+<html>
+<body>
+Should be your browser default encoding:
+<script>
+ if (window.layoutTestController)
+ layoutTestController.dumpAsText();
+ document.write(document.characterSet)
+</script>
+</body>