discrete-no-interpolation.html (1817B)
1 <!DOCTYPE html> 2 <meta name=timeout content=long> 3 <link rel=author href="mailto:jarhar@chromium.org"> 4 <link rel=help href="https://github.com/w3c/csswg-drafts/issues/4441"> 5 <script src="/resources/testharness.js"></script> 6 <script src="/resources/testharnessreport.js"></script> 7 <script src="/css/support/interpolation-testcommon.js"></script> 8 9 <body> 10 <script> 11 test_no_interpolation({ 12 property: 'font-family', 13 from: 'serif', 14 to: 'monospace' 15 }); 16 17 test_no_interpolation({ 18 property: 'font-kerning', 19 from: 'initial', 20 to: 'none' 21 }); 22 23 test_no_interpolation({ 24 property: 'font-optical-sizing', 25 from: 'initial', 26 to: 'none' 27 }); 28 29 test_no_interpolation({ 30 property: 'font-feature-settings', 31 from: 'initial', 32 to: '"smcp"' 33 }); 34 35 test_no_interpolation({ 36 property: 'font-synthesis-small-caps', 37 from: 'initial', 38 to: 'none' 39 }); 40 41 test_no_interpolation({ 42 property: 'font-synthesis-style', 43 from: 'initial', 44 to: 'none' 45 }); 46 47 test_no_interpolation({ 48 property: 'font-synthesis-weight', 49 from: 'initial', 50 to: 'none' 51 }); 52 53 test_no_interpolation({ 54 property: 'font-variant-alternates', 55 from: 'initial', 56 to: 'historical-forms' 57 }); 58 59 test_no_interpolation({ 60 property: 'font-variant-caps', 61 from: 'initial', 62 to: 'small-caps' 63 }); 64 65 test_no_interpolation({ 66 property: 'font-variant-east-asian', 67 from: 'initial', 68 to: 'full-width' 69 }); 70 71 test_no_interpolation({ 72 property: 'font-variant-ligatures', 73 from: 'common-ligatures', 74 to: 'no-common-ligatures' 75 }); 76 77 test_no_interpolation({ 78 property: 'font-variant-numeric', 79 from: 'initial', 80 to: 'tabular-nums' 81 }); 82 83 test_no_interpolation({ 84 property: 'font-variant-position', 85 from: 'initial', 86 to: 'super' 87 }); 88 </script>