summaryrefslogtreecommitdiffstats
path: root/LayoutTests/fast/encoding/yahoo-mail.html
blob: 82331c808d1f3769808ad1968ca85e11847d5c4f (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
25
26
<html>
<head>
		<title>
Yahoo! Mail - someone@yahoo.com</title>
</head>
<body>

<div id=yiv1034332614><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html
><head><meta http-equiv="content-type"
 content="text/html; charset=UTF-8"/></head>

<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 UTF-8)");
</script>
</body>
</html>