| 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 box-shadow: 30px 10px 30px 10px black, | 5 box-shadow: 30px 10px 30px 10px black; |
| 6 } | 6 } |
| 7 .target { | 7 .target { |
| 8 display: inline-block; | 8 display: inline-block; |
| 9 width: 60px; | 9 width: 60px; |
| 10 height: 60px; | 10 height: 60px; |
| 11 font-size: 3px; | 11 font-size: 3px; |
| 12 border: 2px solid; | 12 border: 2px solid; |
| 13 margin-right: 20px; | 13 margin-right: 20px; |
| 14 margin-bottom: 30px; | 14 margin-bottom: 30px; |
| 15 color: green; | 15 color: green; |
| 16 box-shadow: 10px 30px 10px 30px black, | 16 box-shadow: 10px 30px 10px 30px black; |
| 17 } | 17 } |
| 18 .expected { | 18 .expected { |
| 19 margin-right: 40px; | 19 margin-right: 40px; |
| 20 } | 20 } |
| 21 </style> | 21 </style> |
| 22 <body> | 22 <body> |
| 23 <script src="resources/interpolation-test.js"></script> | 23 <script src="resources/interpolation-test.js"></script> |
| 24 <script> | 24 <script> |
| 25 assertInterpolation({ | 25 assertInterpolation({ |
| 26 property: 'box-shadow', | 26 property: 'box-shadow', |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 ]); | 142 ]); |
| 143 | 143 |
| 144 // Test unmatched inset | 144 // Test unmatched inset |
| 145 assertNoInterpolation({ | 145 assertNoInterpolation({ |
| 146 property: 'box-shadow', | 146 property: 'box-shadow', |
| 147 from: '10px 20px yellow, 5px 10px green', | 147 from: '10px 20px yellow, 5px 10px green', |
| 148 to: 'inset 5px 10px green, 15px 20px blue' | 148 to: 'inset 5px 10px green, 15px 20px blue' |
| 149 }); | 149 }); |
| 150 </script> | 150 </script> |
| 151 </body> | 151 </body> |
| OLD | NEW |