blob: 731be6787d2e3cad976e395074ecab2e071b4416 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script>
window.internals.setUserPreferredLanguages(["zh-tw"]);
</script>
</head>
<body>
This test makes sure that generic font families consult with the system language preferences for Chinese when we can't tell
from the lang if we should use Simplified Chinese of Traditional Chinese.
<div lang="zh" style="font-size: 50px;">
<div style="font-family: sans-serif;">&#x900f;&#x904e;</div>
<div style="font-family: serif;">&#x900f;&#x904e;</div>
<div style="font-family: -webkit-standard;">&#x900f;&#x904e;</div>
<div style="font-family: fixed;">&#x900f;&#x904e;</div>
</div>
</body>
</html>