| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <meta charset="UTF-8"> | 2 <meta charset="UTF-8"> |
| 3 <style> | 3 <style> |
| 4 .parent { | 4 .parent { |
| 5 -webkit-column-count: 1; | 5 -webkit-column-count: 1; |
| 6 } | 6 } |
| 7 .target { | 7 .target { |
| 8 width: 300px; | 8 width: 300px; |
| 9 height: 80px; | 9 height: 80px; |
| 10 background-color: black; | 10 background-color: black; |
| 11 display: inline-block; | 11 display: inline-block; |
| 12 margin: 18px; | 12 margin: 18px; |
| 13 color: orange; | 13 color: orange; |
| 14 overflow: hidden; | 14 overflow: hidden; |
| 15 -webkit-column-count: 9; | 15 -webkit-column-count: 9; |
| 16 } | 16 } |
| 17 .expected { | 17 .expected { |
| 18 background-color: green; | 18 background-color: green; |
| 19 } | 19 } |
| 20 </style> | 20 </style> |
| 21 <body> | 21 <body> |
| 22 <template id="target-template"> | 22 <template id="target-template"> |
| 23 <div>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua.</div> | 23 <div>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua.</div> |
| 24 </template> | 24 </template> |
| 25 <script src="resources/interpolation-test.js"></script> | 25 <script src="resources/interpolation-test.js"></script> |
| 26 <script> | 26 <script> |
| 27 assertInterpolation({ | 27 assertInterpolation({ |
| 28 property: '-webkit-column-count', | 28 property: '-webkit-column-count', |
| 29 from: '', | 29 from: neutralKeyframe, |
| 30 to: '5', | 30 to: '5', |
| 31 }, [ | 31 }, [ |
| 32 {at: -0.4, is: '11'}, | 32 {at: -0.4, is: '11'}, |
| 33 {at: -0.2, is: '10'}, | 33 {at: -0.2, is: '10'}, |
| 34 {at: 0, is: '9'}, | 34 {at: 0, is: '9'}, |
| 35 {at: 0.2, is: '8'}, | 35 {at: 0.2, is: '8'}, |
| 36 {at: 0.4, is: '7'}, | 36 {at: 0.4, is: '7'}, |
| 37 {at: 0.6, is: '7'}, | 37 {at: 0.6, is: '7'}, |
| 38 {at: 0.8, is: '6'}, | 38 {at: 0.8, is: '6'}, |
| 39 {at: 1, is: '5'}, | 39 {at: 1, is: '5'}, |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 {at: -0.25, is: '1'}, // Must be strictly positive | 101 {at: -0.25, is: '1'}, // Must be strictly positive |
| 102 {at: 0, is: '1'}, | 102 {at: 0, is: '1'}, |
| 103 {at: 0.25, is: '2'}, | 103 {at: 0.25, is: '2'}, |
| 104 {at: 0.5, is: '3'}, | 104 {at: 0.5, is: '3'}, |
| 105 {at: 0.75, is: '4'}, | 105 {at: 0.75, is: '4'}, |
| 106 {at: 1, is: '5'}, | 106 {at: 1, is: '5'}, |
| 107 {at: 1.25, is: '6'} | 107 {at: 1.25, is: '6'} |
| 108 ]); | 108 ]); |
| 109 </script> | 109 </script> |
| 110 </body> | 110 </body> |
| OLD | NEW |