summaryrefslogtreecommitdiffstats
path: root/LayoutTests/fast/encoding/namespace-meta.html
blob: e994438e4f7cf74285c73f8896bc24c347e268c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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>