16 lines
349 B
HTML
16 lines
349 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<style>
|
|
@font-face {
|
|
font-family: "Boxis";
|
|
src: url("resources/Boxis-VF.ttf");
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
This test makes sure that calc() works in font-variation-settings.
|
|
<div style="font: 48px 'Boxis'; font-variation-settings: 'desc' 0, 'hght' 750, 'trac' 0, 'wdth' calc(200 + 200);">Hi</div>
|
|
</body>
|
|
</html>
|