summaryrefslogtreecommitdiffstats
path: root/LayoutTests/fast/encoding/bandai-co-jp-releases.html
diff options
context:
space:
mode:
Diffstat (limited to 'LayoutTests/fast/encoding/bandai-co-jp-releases.html')
-rw-r--r--LayoutTests/fast/encoding/bandai-co-jp-releases.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/LayoutTests/fast/encoding/bandai-co-jp-releases.html b/LayoutTests/fast/encoding/bandai-co-jp-releases.html
new file mode 100644
index 0000000..c3c2fdd
--- /dev/null
+++ b/LayoutTests/fast/encoding/bandai-co-jp-releases.html
@@ -0,0 +1,21 @@
+<div class="moz-text-flowed" style="font-family: -moz-fixed">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
+</head>
+
+<body>
+<p>Test a particular example of broken markup that was making us ignore a charset declaration.</p>
+<script>
+ if (window.layoutTestController)
+ layoutTestController.dumpAsText();
+
+ var charset = document.characterSet;
+ if (!charset)
+ charset = document.charset;
+ if (!charset)
+ charset = document.inputEncoding;
+ document.write("Encoding: " + charset + " (should be Shift_JIS)");
+</script>
+</body>
+</html>