<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> |