18 lines
381 B
HTML
18 lines
381 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<style>
|
|
@font-face {
|
|
font-family: "FontFeaturesTestOTF";
|
|
src: url("resources/FontWithFeatures.otf") format("opentype");
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
This test makes sure that calc() can be used in font-feature-settings.
|
|
<div style="font: 48px 'FontFeaturesTestOTF';">
|
|
<span style="font-feature-settings: 'zero' 1;">W</span>
|
|
</div>
|
|
</body>
|
|
<html>
|