blob: 6246574582b49ffc8ddbae26e723973b2fae1826 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style>
@font-face {
font-family: "CJKLoclTest";
src: url("resources/langlocatest_cjk/langlocatest_cjk.ttf") format('truetype');
}
.locl-test {
display: inline-block;
font-family: "CJKLoclTest";
font-size: 3rem;
}
.locl-on {
font-family: "CJKLoclTest";
font-feature-settings: "locl" 1;
}
.locl-off {
font-family: "CJKLoclTest";
font-feature-settings: "locl" 0;
}
</style>
</head>
<body>
<div>This test makes sure that shaping is locale-specific. The test passes if the big text below doesn't all say ZHS.</div>
<div class="locl-test locl-off">
<div lang="zh-Hans"></div>
<div lang="zh-Hant"></div>
<div lang="zh-HK"></div>
<div lang="ja-JP"></div>
<div lang="ko-KR"></div>
</div>
</body>
</html>