17 lines
403 B
HTML
17 lines
403 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<style>
|
|
@font-face {
|
|
font-family: "WebAhem";
|
|
src: url("../../resources/Ahem.ttf") format(truetype);
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
This test makes sure that small-caps works with webfonts. This test passes if
|
|
there are two black rectangles below which butt up against each other.
|
|
<div style="font: 100px WebAhem; font-variant: small-caps;">Abcdefg</div>
|
|
</body>
|
|
</html>
|