Use testRunner instead of layoutTestController in fast/doctypes, dom, dynamic, encodi...
[WebKit-https.git] / LayoutTests / fast / encoding / default-xhtml-encoding.xhtml
1 <html xmlns="http://www.w3.org/1999/xhtml">
2 <body>
3 <p>Test default XHTML encoding (in the absence of an XML declaration).</p>
4
5 <p id="result" />
6
7 <script>
8 if (window.testRunner)
9     testRunner.dumpAsText();
10
11 document.getElementById("result").innerHTML = "Charset: " + 
12     (document.charset ? document.charset : document.characterSet) + " (should be UTF-8)";
13 </script>
14
15 </body>
16 </html>