summaryrefslogtreecommitdiffstats
path: root/LayoutTests/fast/encoding/invalid-UTF-8-2.html
diff options
context:
space:
mode:
Diffstat (limited to 'LayoutTests/fast/encoding/invalid-UTF-8-2.html')
-rw-r--r--LayoutTests/fast/encoding/invalid-UTF-8-2.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/LayoutTests/fast/encoding/invalid-UTF-8-2.html b/LayoutTests/fast/encoding/invalid-UTF-8-2.html
new file mode 100644
index 0000000..d6ddd94
--- /dev/null
+++ b/LayoutTests/fast/encoding/invalid-UTF-8-2.html
@@ -0,0 +1,23 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<style>
+/* Force font fallback on Windows to match Mac OS X */
+@font-face {
+ font-family: 'times';
+ src: local('Lucida Grande');
+ unicode-range: U+FFFD;
+}
+</style>
+</head>
+<body>
+<script>
+ if (window.layoutTestController)
+ layoutTestController.dumpAsText();
+</script>
+<p>This tests the decoding of invalid UTF-8 sequences.</p>
+The following should be: "т��т ���" or "т��т ��������":
+<p>т��т ���</p>
+</body>
+</html>
+