summaryrefslogtreecommitdiffstats
path: root/LayoutTests/fast/encoding/default-xhtml-encoding.xhtml
blob: ffbc92c5a6854ad9413276db5df63b0a270f43ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<html xmlns="http://www.w3.org/1999/xhtml">
<body>
<p>Test default XHTML encoding (in the absence of an XML declaration).</p>

<p id="result" />

<script>
if (window.layoutTestController)
    layoutTestController.dumpAsText();

document.getElementById("result").innerHTML = "Charset: " + 
    (document.charset ? document.charset : document.characterSet) + " (should be UTF-8)";
</script>

</body>
</html>