3 <title>Crash when clearing webkitTransitionDuration in webkitTransitionEnd event handler
</title>
6 This tests that we don't crash if we clear a transitions duration during the transition end callback.
7 <div id=
"t" style=
"background-color:#000">test
</div>
9 if (window
.layoutTestController
) {
10 layoutTestController
.dumpAsText();
11 layoutTestController
.waitUntilDone();
13 var el
= document
.getElementById('t');
14 el
.addEventListener('webkitTransitionEnd', function(){
15 el
.style
.webkitTransitionDuration
= '';
16 if (window
.layoutTestController
)
17 layoutTestController
.notifyDone();
19 el
.style
.cssText
+= ';-webkit-transition:background-color 0.2s;background-color:#fff'