(async function(/** @type {import('test_runner').TestRunner} */ testRunner) {
var page = await testRunner.createPage();
await page.loadHTML(`
<html>
<meta charset="UTF-8">
<body>
<div class="test">
<div id="zh-CN" lang="zh-CN">zh-CN: 誤過骨</div>
<div id="zh-TW" lang="zh-TW">zh-TW: 誤過骨</div>
<div id="zh-HK" lang="zh-HK">zh-HK: 誤過骨</div>
<div id="ja" lang="ja">ja: 誤過骨</div>
<div id="ja-JP" lang="ja-JP">ja-JP: 誤過骨</div>
<div id="ko" lang="ko">ko: 誤過骨</div>
<div id="ko-KR" lang="ko-KR">ko-KR: 誤過骨</div>
<div id="en-CN" lang="en-CN">en-CN: 誤過骨</div>
<div id="en-JP" lang="en-JP">en-JP: 誤過骨</div>
<div id="en-KR" lang="en-KR">en-KR: 誤過骨</div>
<div id="en-HK" lang="en-HK">en-HK: 誤過骨</div>
<div id="en-TW" lang="en-TW">en-TW: 誤過骨</div>
<div id="en-HanS" lang="en-HanS">en-HanS: 誤過骨</div>
<div id="en-HanT" lang="en-HanT">en-HanT: 誤過骨</div>
<div id="en-HanS-JP" lang="en-HanS-JP">en-HanS-JP: 誤過骨</div>
<div id="en-HanT-JP" lang="en-HanT-JP">en-HanT-JP: 誤過骨</div>
<div id="en-US" lang="en-US">en-US: 誤過骨</div>
</div>
</body>
</html>
`);
var session = await page.createSession();
var helper = await testRunner.loadScript('./resources/layout-font-test.js');
await helper(testRunner, session);
testRunner.completeTest();
})