css-lists-no-interpolation.html (1421B)
1 <!DOCTYPE html> 2 <link rel=author href="mailto:jarhar@chromium.org"> 3 <link rel=help href="https://github.com/w3c/csswg-drafts/issues/4441"> 4 <script src="/resources/testharness.js"></script> 5 <script src="/resources/testharnessreport.js"></script> 6 <script src="/css/support/interpolation-testcommon.js"></script> 7 8 <body> 9 <script> 10 test_no_interpolation({ 11 property: 'counter-increment', 12 from: 'initial', 13 to: 'add 123' 14 }); 15 16 test_no_interpolation({ 17 property: 'counter-increment', 18 from: 'add 5', 19 to: 'add 123' 20 }); 21 22 test_no_interpolation({ 23 property: 'counter-reset', 24 from: 'reversed(foo) 5', 25 to: 'reversed(foo) 123' 26 }); 27 28 test_no_interpolation({ 29 property: 'counter-reset', 30 from: 'reversed(foo)', 31 to: 'reversed(foo) 123' 32 }); 33 34 test_no_interpolation({ 35 property: 'counter-reset', 36 from: 'foo 123', 37 to: 'reversed(foo) 123' 38 }); 39 40 test_no_interpolation({ 41 property: 'counter-reset', 42 from: 'foo', 43 to: 'reversed(foo)' 44 }); 45 46 test_no_interpolation({ 47 property: 'counter-reset', 48 from: 'initial', 49 to: 'reversed(foo)' 50 }); 51 52 test_no_interpolation({ 53 property: 'counter-reset', 54 from: 'initial', 55 to: 'add 123' 56 }); 57 58 test_no_interpolation({ 59 property: 'counter-set', 60 from: 'initial', 61 to: 'add 123' 62 }); 63 64 test_no_interpolation({ 65 property: 'list-style-position', 66 from: 'initial', 67 to: 'inside' 68 }); 69 70 test_no_interpolation({ 71 property: 'list-style-type', 72 from: 'initial', 73 to: 'square' 74 }); 75 </script>