Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<html lang="en">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>CSS Test: font-variation-settings descriptor</title>
<link rel="author" title="Sejal Anand" href="mailto:sejalanand@microsoft.com">
<link rel="match" href="font-variation-settings-descriptor-01-ref.html">
<meta name="assert" content="slant feature should be handled with font-variation-settings defined as font-face rule.">
<style>
@font-face {
font-family: "slant";
src: url(variations/resources/Inter.var.subset.ttf);
font-variation-settings: 'slnt' -20;
}
.slantOn {
font-family: slant;
}
</style>
<body>
<p>Test passes if the line below has slanted text.</p>
<div class="slantOn">
<span>filler text</span>
</div>
</body>
</html>