Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-fonts/discrete-no-interpolation.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<meta name=timeout content=long>
<link rel=author href="mailto:jarhar@chromium.org">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/interpolation-testcommon.js"></script>
<body>
<script>
test_no_interpolation({
property: 'font-family',
from: 'serif',
to: 'monospace'
});
test_no_interpolation({
property: 'font-kerning',
from: 'initial',
to: 'none'
});
test_no_interpolation({
property: 'font-optical-sizing',
from: 'initial',
to: 'none'
});
test_no_interpolation({
property: 'font-feature-settings',
from: 'initial',
to: '"smcp"'
});
test_no_interpolation({
property: 'font-synthesis-small-caps',
from: 'initial',
to: 'none'
});
test_no_interpolation({
property: 'font-synthesis-style',
from: 'initial',
to: 'none'
});
test_no_interpolation({
property: 'font-synthesis-weight',
from: 'initial',
to: 'none'
});
test_no_interpolation({
property: 'font-variant-alternates',
from: 'initial',
to: 'historical-forms'
});
test_no_interpolation({
property: 'font-variant-caps',
from: 'initial',
to: 'small-caps'
});
test_no_interpolation({
property: 'font-variant-east-asian',
from: 'initial',
to: 'full-width'
});
test_no_interpolation({
property: 'font-variant-ligatures',
from: 'common-ligatures',
to: 'no-common-ligatures'
});
test_no_interpolation({
property: 'font-variant-numeric',
from: 'initial',
to: 'tabular-nums'
});
test_no_interpolation({
property: 'font-variant-position',
from: 'initial',
to: 'super'
});
</script>