<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<style> | |
@font-face { | |
font-family: AhemU; | |
src: url(../../third_party/adobe-fonts/CSSFWOrientationTest.otf); | |
} | |
div { | |
font-family: Ahem, AhemU; | |
font-size: 20px; | |
width: 3ch; | |
} | |
</style> | |
<body> | |
<div>fo–bar</div> | |
<div>国国国bar</div> | |
<div>あああbar</div> | |
<div>国国、bar</div> | |
</body> | |
<script> | |
if (window.testRunner) { | |
testRunner.waitUntilDone(); | |
window.onload = function () { | |
document.fonts.ready.then(function () { testRunner.notifyDone(); }); | |
}; | |
} | |
</script> |