17 lines
405 B
HTML
17 lines
405 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<style>
|
|
@font-face {
|
|
font-family: "WebFont";
|
|
src:local('☺︎'), url("../../resources/Ahem.ttf") format("truetype");
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
This test makes sure that '☺︎' doesn't get resolved to a real font. The test passes if there is a black rectangle below.
|
|
<div style="font: 48px 'WebFont', 'Helvetica';">Test</div>
|
|
</body>
|
|
</html>
|