diff options
Diffstat (limited to 'LayoutTests/fast/encoding/char-encoding-mac.html')
-rw-r--r-- | LayoutTests/fast/encoding/char-encoding-mac.html | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/LayoutTests/fast/encoding/char-encoding-mac.html b/LayoutTests/fast/encoding/char-encoding-mac.html new file mode 100644 index 0000000..fd6ef24 --- /dev/null +++ b/LayoutTests/fast/encoding/char-encoding-mac.html @@ -0,0 +1,42 @@ +<html> +<head> +<link rel="stylesheet" href="../js/resources/js-test-style.css"> +<script src="../js/resources/js-test-pre.js"></script> +<script src="../js/resources/js-test-post-function.js"></script> +<script src="resources/char-encoding-utils.js"></script> +</head> +<body> +<p id="description"></p> +<div id="console"></div> +<form id="form" method="GET" target="subframe"><input type="text" id="text" name="text"></form> +<iframe id="subframe" name="subframe"></iframe> +<script> + + +var charsets = new Array; +var unicodes = new Array; +var expectedResults = new Array; + +var results = new Object; + +var i = 0; + +// Legacy Mac encodings. +testEncode('mac', 'U+221A', '%C3'); +testEncode('macintosh', 'U+221A', '%C3'); +testEncode('MacRoman', 'U+221A', '%C3'); +testEncode('x-mac-greek', 'U+0391', '%B0'); +testEncode('x-mac-cyrillic', 'U+0410', '%80'); +testEncode('mac-cyrillic', 'U+0410', '%80'); +testEncode('x-mac-centraleurroman', 'U+0100', '%81'); +testEncode('x-mac-turkish', 'U+00C5', '%81'); + +if (window.layoutTestController) + layoutTestController.waitUntilDone(); +runTest(); + +successfullyParsed = true; + +</script> +</body> +</html> |