<div class="moz-text-flowed" style="font-family: -moz-fixed">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
</head>

<body>
<p>Test a particular example of broken markup that was making us ignore a charset declaration.</p>
<script>
  if (window.testRunner)
    testRunner.dumpAsText();

  var charset = document.characterSet;
  if (!charset)
    charset = document.charset;
  if (!charset)
    charset = document.inputEncoding;
  document.write("Encoding: " + charset + " (should be Shift_JIS)");
</script>
</body>
</html>
