meta-in-title.html revision f05b935882198ccf7d81675736e3aeb089c5113a
1<html>
2<head>
3<title>
4<meta charset=windows-1255>
5</title>
6<meta charset=KOI8-R>
7</head>
8<body>
9<pre id="log"></pre>
10<script>
11function log(message)
12{
13    document.getElementById("log").innerText += message + "\n";
14}
15
16if (window.layoutTestController)
17    layoutTestController.dumpAsText();
18
19if (document.inputEncoding == "KOI8-R")
20    log("PASS: " + document.inputEncoding);
21else
22    log("FAIL: " + document.inputEncoding);
23</script>
24<p>
25This test verifies that charset sniffer ignores meta tag in a title.
26</body>
27</html>
28