| <title>Destroy and Hide Element in Transition End Event</title> |
| <style type="text/css" media="screen"> |
| -webkit-transition-property: -webkit-transform; |
| -webkit-transition-duration: 0.1s; |
| <script type="text/javascript" charset="utf-8"> |
| function transitionEnded() |
| var box1 = document.getElementById('box1'); |
| box1.addEventListener('webkitTransitionEnd', function() { |
| box1.style.webkitTransform = 'translate(100px, 0)'; |
| window.addEventListener('load', startTest, false); |
| <p>Tests element removal of iframe in webkitTransitionEnd event handler. Should not crash.</p> |
| <div id="box1" class="box"></div> |