blob: 2638031d54a8a574e22981cb47001e432b8c13bf [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script>
if (window.testRunner)
testRunner.installFakeHelvetica("Helvetica2-400");
if (window.internals)
internals.settings.setShouldAllowUserInstalledFonts(false);
</script>
<style>
@font-face {
font-family: "WebFont";
src: local("Helvetica2"), url("../../../resources/Ahem.otf");
}
</style>
</head>
<body>
This test makes sure that local() doesn't find a user-installed font, and that
local() will be skipped if it lists a user-installed font.
The test passes if you see some black boxes below (and no text below).
<div style="font: 48px 'WebFont', 'AmericanTypewriter';">Hello, World</div>
</body>
</html>