| 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: 3px solid blue; | 10       border: 3px solid blue; | 
| (...skipping 11 matching lines...) Expand all  Loading... | 
| 22 | 22 | 
| 23     #box2 { | 23     #box2 { | 
| 24       -webkit-transition-property: -webkit-border-radius; | 24       -webkit-transition-property: -webkit-border-radius; | 
| 25     } | 25     } | 
| 26 | 26 | 
| 27     #box2.final { | 27     #box2.final { | 
| 28         -webkit-border-top-left-radius: 50px; | 28         -webkit-border-top-left-radius: 50px; | 
| 29     } | 29     } | 
| 30 | 30 | 
| 31   </style> | 31   </style> | 
| 32   <script src="resources/transition-test-helpers.js"></script> | 32   <script src="../animations/resources/animation-test-helpers.js"></script> | 
| 33   <script> | 33   <script> | 
| 34 | 34 | 
| 35     const expectedValues = [ | 35     const expectedValues = [ | 
| 36       // [time, element-id, property, expected-value, tolerance] | 36       // [time, element-id, property, expected-value, tolerance] | 
| 37       [0.25, 'box', 'border-top-left-radius', 25, 5], | 37       [0.25, 'box', 'border-top-left-radius', 25, 5], | 
| 38       [0.25, 'box2', '-webkit-border-top-left-radius', 25, 5], | 38       [0.25, 'box2', '-webkit-border-top-left-radius', 25, 5], | 
| 39     ]; | 39     ]; | 
| 40 | 40 | 
| 41     function setupTest() | 41     function setupTest() | 
| 42     { | 42     { | 
| 43       document.getElementById('box').className = 'box final'; | 43       document.getElementById('box').className = 'box final'; | 
| 44       document.getElementById('box2').className = 'box final'; | 44       document.getElementById('box2').className = 'box final'; | 
| 45     } | 45     } | 
| 46 | 46 | 
| 47     runTransitionTest(expectedValues, setupTest, usePauseAPI); | 47     runTransitionTest(expectedValues, setupTest, usePauseAPI); | 
| 48   </script> | 48   </script> | 
| 49 </head> | 49 </head> | 
| 50 <body> | 50 <body> | 
| 51 | 51 | 
| 52   <div id="box" class="box"></div> | 52   <div id="box" class="box"></div> | 
| 53   <div id="box2" class="box"></div> | 53   <div id="box2" class="box"></div> | 
| 54 | 54 | 
| 55   <div id="result"> | 55   <div id="result"> | 
| 56   </div> | 56   </div> | 
| 57 | 57 | 
| 58 </body> | 58 </body> | 
| 59 </html> | 59 </html> | 
| OLD | NEW | 
|---|