| OLD | NEW |
| 1 <!DOCTYPE> | 1 <!DOCTYPE> |
| 2 | 2 |
| 3 <html> | 3 <html> |
| 4 <head> | 4 <head> |
| 5 <style> | 5 <style> |
| 6 .box { | 6 .box { |
| 7 height: 100px; | 7 height: 100px; |
| 8 width: 100px; | 8 width: 100px; |
| 9 margin: 10px; | 9 margin: 10px; |
| 10 border: 1px solid black; | 10 border: 1px solid black; |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 background-image: url('../fast/backgrounds/repeat/resources/gradient.gif')
; | 38 background-image: url('../fast/backgrounds/repeat/resources/gradient.gif')
; |
| 39 background-position: 80px 80px; | 39 background-position: 80px 80px; |
| 40 } | 40 } |
| 41 | 41 |
| 42 #box3.final { | 42 #box3.final { |
| 43 background-image: url('../fast/backgrounds/repeat/resources/gradient.gif')
, url('../fast/backgrounds/repeat/resources/gradient.gif'); | 43 background-image: url('../fast/backgrounds/repeat/resources/gradient.gif')
, url('../fast/backgrounds/repeat/resources/gradient.gif'); |
| 44 background-position: 0 0, 0 80px; | 44 background-position: 0 0, 0 80px; |
| 45 } | 45 } |
| 46 | 46 |
| 47 </style> | 47 </style> |
| 48 <script src="resources/transition-test-helpers.js"></script> | 48 <script src="../animations/resources/animation-test-helpers.js"></script> |
| 49 <script type="text/javascript"> | 49 <script type="text/javascript"> |
| 50 | 50 |
| 51 const expectedValues = [ | 51 const expectedValues = [ |
| 52 // [time, element-id, property, expected-value, tolerance] | 52 // [time, element-id, property, expected-value, tolerance] |
| 53 [0.5, 'box', 'background-position', [40, 40], 2], | 53 [0.5, 'box', 'background-position', [40, 40], 2], |
| 54 [0.5, 'box2', 'background-position', [40, 40], 2], | 54 [0.5, 'box2', 'background-position', [40, 40], 2], |
| 55 [0.5, 'box3', 'background-position', [40, 40], 2], | 55 [0.5, 'box3', 'background-position', [40, 40], 2], |
| 56 ]; | 56 ]; |
| 57 | 57 |
| 58 function setupTest() | 58 function setupTest() |
| (...skipping 10 matching lines...) Expand all Loading... |
| 69 | 69 |
| 70 <div id="box" class="box"></div> | 70 <div id="box" class="box"></div> |
| 71 <div id="box2" class="box"></div> | 71 <div id="box2" class="box"></div> |
| 72 <div id="box3" class="box"></div> | 72 <div id="box3" class="box"></div> |
| 73 | 73 |
| 74 <div id="result"> | 74 <div id="result"> |
| 75 </div> | 75 </div> |
| 76 | 76 |
| 77 </body> | 77 </body> |
| 78 </html> | 78 </html> |
| OLD | NEW |