28 lines
631 B
HTML
28 lines
631 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<script>
|
|
if (window.testRunner) {
|
|
testRunner.dumpResourceLoadCallbacks();
|
|
testRunner.dumpAsText();
|
|
}
|
|
if (window.internals) {
|
|
internals.invalidateFontCache();
|
|
internals.clearMemoryCache();
|
|
}
|
|
</script>
|
|
<style>
|
|
@font-face {
|
|
font-family: "WebFont";
|
|
src: url("../../resources/Ahem_CJK.ttf") format("truetype"), url("../../resources/Ahem.otf") format("opentype");
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
This test makes sure that unnecessary fonts aren't downloaded. The test fails if Ahem.otf is downloaded.
|
|
<div style="font-size: 100px; font-family: 'WebFont';">横</div>
|
|
</body>
|
|
</html>
|
|
|
|
|