3 <style id="a" type="text/css" media="screen">
5 -webkit-animation-duration: 2s;
6 -webkit-animation-timing-function: linear;
7 -webkit-animation-name: anim;
8 background-color: blue;
12 @-webkit-keyframes anim {
13 from { -webkit-transform: rotate(0) scale(1,1); }
14 to { -webkit-transform: rotate(360deg) scale(2,4); }
21 <p>This should not crash</p>
30 // trigger style processing
31 document.alinkColor = "aaa";
32 // now remove the body and insert it in a different location
33 element = document.body;
34 element.parentNode.removeChild(element);
35 document.getElementById("a").parentNode.insertBefore(element, document.getElementById("a").nextSibling);
36 setTimeout(cleanup, 0);
40 document.getElementById("b").parentNode.insertBefore(element, document.getElementById("b").nextSibling);
42 if (window.layoutTestController)
43 layoutTestController.notifyDone();
46 if (window.layoutTestController) {
47 layoutTestController.dumpAsText();
48 layoutTestController.waitUntilDone();