Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <meta charset="UTF-8"> | |
| 3 <style> | |
| 4 .target { | |
| 5 width: 80px; | |
| 6 height: 50px; | |
| 7 background-color: black; | |
| 8 display: inline-block; | |
| 9 margin: 18px; | |
| 10 border-collapse: separate; | |
| 11 } | |
| 12 .target td { | |
| 13 background-color: white; | |
| 14 border: 1px solid orange; | |
| 15 } | |
| 16 .replica { | |
| 17 background-color: green; | |
| 18 } | |
| 19 </style> | |
| 20 <body> | |
| 21 <template id="target-template"> | |
| 22 <table> | |
| 23 <tbody> | |
| 24 <tr> | |
| 25 <td>foo</td> | |
|
dstockwell
2013/09/30 06:39:18
Do we need this text? It's a bit noisy in the text
Steve Block
2013/09/30 06:51:22
Done.
There's still some whitespace in the output
| |
| 26 <td>bar</td> | |
| 27 </tr> | |
| 28 </tbody> | |
| 29 </table> | |
| 30 </template> | |
| 31 <script src="resources/interpolation-test.js"></script> | |
| 32 <script> | |
| 33 assertInterpolation({ | |
| 34 property: 'border-spacing', | |
| 35 from: '0px', | |
| 36 to: '10px' | |
| 37 }, [ | |
| 38 {at: -0.3, is: '0px 0px'}, // Can't be negative. | |
| 39 {at: 0, is: '0px 0px'}, | |
| 40 {at: 0.3, is: '3px 3px'}, | |
| 41 {at: 0.6, is: '6px 6px'}, | |
| 42 {at: 1, is: '10px 10px'}, | |
| 43 {at: 1.5, is: '15px 15px'} | |
| 44 ]); | |
| 45 assertInterpolation({ | |
| 46 property: '-webkit-border-horizontal-spacing', | |
| 47 from: '0px', | |
| 48 to: '10px' | |
| 49 }, [ | |
| 50 {at: -0.3, is: '0px'}, // Can't be negative. | |
| 51 {at: 0, is: '0px'}, | |
| 52 {at: 0.3, is: '3px'}, | |
| 53 {at: 0.6, is: '6px'}, | |
| 54 {at: 1, is: '10px'}, | |
| 55 {at: 1.5, is: '15px'} | |
| 56 ]); | |
| 57 assertInterpolation({ | |
| 58 property: '-webkit-border-vertical-spacing', | |
| 59 from: '0px', | |
| 60 to: '10px' | |
| 61 }, [ | |
| 62 {at: -0.3, is: '0px'}, // Can't be negative. | |
| 63 {at: 0, is: '0px'}, | |
| 64 {at: 0.3, is: '3px'}, | |
| 65 {at: 0.6, is: '6px'}, | |
| 66 {at: 1, is: '10px'}, | |
| 67 {at: 1.5, is: '15px'} | |
| 68 ]); | |
| 69 </script> | |
| 70 </body> | |
| OLD | NEW |