diff options
Diffstat (limited to 'LayoutTests/fast/encoding/default-xhtml-encoding.xhtml')
-rw-r--r-- | LayoutTests/fast/encoding/default-xhtml-encoding.xhtml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/LayoutTests/fast/encoding/default-xhtml-encoding.xhtml b/LayoutTests/fast/encoding/default-xhtml-encoding.xhtml new file mode 100644 index 0000000..ffbc92c --- /dev/null +++ b/LayoutTests/fast/encoding/default-xhtml-encoding.xhtml @@ -0,0 +1,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> |