| OLD | NEW |
| 1 <!doctype html> | 1 <!doctype html> |
| 2 <style> | 2 <style> |
| 3 #test { | 3 #test { |
| 4 height: 0px; | 4 height: 0px; |
| 5 -webkit-transition: height 1000s; | 5 transition: height 1000s; |
| 6 background: green; | 6 background: green; |
| 7 } | 7 } |
| 8 </style> | 8 </style> |
| 9 <div id="test">Testing...</div> | 9 <div id="test">Testing...</div> |
| 10 <script> | 10 <script> |
| 11 if (window.testRunner) { | 11 if (window.testRunner) { |
| 12 testRunner.dumpAsText(); | 12 testRunner.dumpAsText(); |
| 13 testRunner.waitUntilDone(); | 13 testRunner.waitUntilDone(); |
| 14 } | 14 } |
| 15 | 15 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 26 } | 26 } |
| 27 | 27 |
| 28 test.style.height = 'auto'; | 28 test.style.height = 'auto'; |
| 29 if (test.clientHeight == 0) { | 29 if (test.clientHeight == 0) { |
| 30 return finish('FAIL -- transtion should not apply from 0px to auto'); | 30 return finish('FAIL -- transtion should not apply from 0px to auto'); |
| 31 } | 31 } |
| 32 | 32 |
| 33 return finish('PASS'); | 33 return finish('PASS'); |
| 34 }; | 34 }; |
| 35 </script> | 35 </script> |
| OLD | NEW |