| OLD | NEW |
| (Empty) | |
| 1 <!DOCTYPE html> |
| 2 <style> |
| 3 #test { |
| 4 transition: background, -webkit-mask 1s; |
| 5 } |
| 6 </style> |
| 7 <div id="test"></div> |
| 8 <p>This tests a crash that was occuring when a transition was targeting backgrou
nd or -webkit-mask properties on an element that did not have any style specifie
d for those properties. This test passes if it does not crash.</p> |
| 9 <script> |
| 10 if (window.testRunner) { |
| 11 testRunner.dumpAsText(); |
| 12 testRunner.waitUntilDone(); |
| 13 } |
| 14 setTimeout(function() { |
| 15 test.style.backgroundColor = 'green'; |
| 16 setTimeout(function() { |
| 17 if (window.testRunner) |
| 18 testRunner.notifyDone(); |
| 19 }, 0); |
| 20 }, 0); |
| 21 </script> |
| OLD | NEW |