diff options
Diffstat (limited to 'testing/web-platform/tests/encoding/legacy-mb-japanese/shift_jis/sjis-encode-form-csshiftjis.html')
-rw-r--r-- | testing/web-platform/tests/encoding/legacy-mb-japanese/shift_jis/sjis-encode-form-csshiftjis.html | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/testing/web-platform/tests/encoding/legacy-mb-japanese/shift_jis/sjis-encode-form-csshiftjis.html b/testing/web-platform/tests/encoding/legacy-mb-japanese/shift_jis/sjis-encode-form-csshiftjis.html new file mode 100644 index 0000000000..90002ca23d --- /dev/null +++ b/testing/web-platform/tests/encoding/legacy-mb-japanese/shift_jis/sjis-encode-form-csshiftjis.html @@ -0,0 +1,42 @@ +<!DOCTYPE html> +<html> +<head> +<meta charset="csshiftjis"> <!-- test breaks if the server overrides this --> +<title>csshiftjis encoding (form)</title> +<meta name="timeout" content="long"> +<meta name="variant" content="?1-1000"> +<meta name="variant" content="?1001-2000"> +<meta name="variant" content="?2001-3000"> +<meta name="variant" content="?3001-4000"> +<meta name="variant" content="?4001-5000"> +<meta name="variant" content="?5001-6000"> +<meta name="variant" content="?6001-7000"> +<meta name="variant" content="?7001-last"> +<script src="/resources/testharness.js"></script> +<script src="/resources/testharnessreport.js"></script> +<script src="/common/subset-tests.js"></script> +<script src="jis0208_index.js"></script> +<script src="sjis-encoder.js"></script> +<link rel="author" title="Richard Ishida" href="mailto:ishida@w3.org"> +<link rel="help" href="https://encoding.spec.whatwg.org/#shift_jis"> +<meta name="assert" content="The browser produces the same encoding behavior for a document labeled 'csshiftjis' as for a document labeled 'shift_jis'."> +<style> + iframe { display:none } + form { display:none } +</style> +</head> +<body> +<div id="log"></div> +<script src="../../resources/ranges.js"></script> +<script> +var errors = false; +var encoder = sjisEncoder; +var ranges = rangesAll; +var separator = ","; +function expect(result, codepoint) { + return "%" + result.replace(/ /g, "%"); +} +</script> +<script src="../../resources/encode-form-common.js"></script> +</body> +</html> |