diff options
Diffstat (limited to 'LayoutTests/fast/encoding/namespace-meta.html')
-rw-r--r-- | LayoutTests/fast/encoding/namespace-meta.html | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/LayoutTests/fast/encoding/namespace-meta.html b/LayoutTests/fast/encoding/namespace-meta.html new file mode 100644 index 0000000..e994438 --- /dev/null +++ b/LayoutTests/fast/encoding/namespace-meta.html @@ -0,0 +1,24 @@ +<html> +<head> +<testme:meta charset=windows-1252> +<meta charset=ISO-2022-JP> +</head> +<body> +This test checks that the charset sniffer ignores namespaced meta tags. +<pre id="log"></pre> +<script> +function log(message) +{ + document.getElementById("log").innerText += message + "\n"; +} + +if (window.layoutTestController) + layoutTestController.dumpAsText(); + +if (document.inputEncoding == "ISO-2022-JP") + log("PASS: " + document.inputEncoding); +else + log("FAIL: " + document.inputEncoding); +</script> +</body> +</html> |