haikuwebkit/LayoutTests/fast/text/font-fallback-invalid-load-...

16 lines
387 B
HTML

<!DOCTYPE html>
<html>
<head>
<style>
@font-face {
font-family: "WebFont";
src: url("../../resources/Ahem.ttf") format("truetype");
}
</style>
</head>
<body>
This test makes sure that an @font-face with an invalid primary font file is rendered. The test passes if you see something other than this text on the page.
<div style="font: 48px 'WebFont';">Hello</div>
</body>
</html>