| OLD | NEW | 
|---|
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> | 
| 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       background-color: gray; | 10       background-color: gray; | 
| (...skipping 25 matching lines...) Expand all  Loading... | 
| 36       background-color: gray; | 36       background-color: gray; | 
| 37       border: 0px solid rgb(0, 0, 0); | 37       border: 0px solid rgb(0, 0, 0); | 
| 38       -webkit-transition: border 1s linear; | 38       -webkit-transition: border 1s linear; | 
| 39     } | 39     } | 
| 40 | 40 | 
| 41     #box2.final { | 41     #box2.final { | 
| 42       border-width: 20px; | 42       border-width: 20px; | 
| 43       border-bottom-width: 40px; | 43       border-bottom-width: 40px; | 
| 44     } | 44     } | 
| 45   </style> | 45   </style> | 
| 46   <script src="resources/transition-test-helpers.js"></script> | 46   <script src="../animations/resources/animation-test-helpers.js"></script> | 
| 47   <script type="text/javascript"> | 47   <script type="text/javascript"> | 
| 48 | 48 | 
| 49     const expectedValues = [ | 49     const expectedValues = [ | 
| 50       // [time, element-id, property, expected-value, tolerance, callback, shoul
    d-be-transitioning] | 50       // [time, element-id, property, expected-value, tolerance, callback, shoul
    d-be-transitioning] | 
| 51       // color and width of each side should be animating | 51       // color and width of each side should be animating | 
| 52       [0.5, 'box', 'border-top-color', [128, 0, 128], 30], | 52       [0.5, 'box', 'border-top-color', [128, 0, 128], 30], | 
| 53       [0.5, 'box', 'border-right-color', [128, 0, 128], 30], | 53       [0.5, 'box', 'border-right-color', [128, 0, 128], 30], | 
| 54       [0.5, 'box', 'border-bottom-color', [128, 0, 128], 30], | 54       [0.5, 'box', 'border-bottom-color', [128, 0, 128], 30], | 
| 55       [0.5, 'box', 'border-left-color', [128, 0, 128], 30], | 55       [0.5, 'box', 'border-left-color', [128, 0, 128], 30], | 
| 56       [0.5, 'box', 'border-top-width', 10, 2], | 56       [0.5, 'box', 'border-top-width', 10, 2], | 
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 88   Tests transitions of the border shorthand properties. | 88   Tests transitions of the border shorthand properties. | 
| 89 </p> | 89 </p> | 
| 90 <div id="box"></div> | 90 <div id="box"></div> | 
| 91 <div id="box1"></div> | 91 <div id="box1"></div> | 
| 92 <div id="box2"></div> | 92 <div id="box2"></div> | 
| 93 | 93 | 
| 94 <div id="result"> | 94 <div id="result"> | 
| 95 </div> | 95 </div> | 
| 96 </body> | 96 </body> | 
| 97 </html> | 97 </html> | 
| OLD | NEW | 
|---|