| Index: third_party/WebKit/LayoutTests/animations/body-removal-crash.html
|
| diff --git a/third_party/WebKit/LayoutTests/animations/body-removal-crash.html b/third_party/WebKit/LayoutTests/animations/body-removal-crash.html
|
| deleted file mode 100644
|
| index f628ecab81c885251293948df39568bdc64d3b2a..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/LayoutTests/animations/body-removal-crash.html
|
| +++ /dev/null
|
| @@ -1,52 +0,0 @@
|
| -<html>
|
| -<head id="b">
|
| - <style id="a" type="text/css" media="screen">
|
| - #box {
|
| - animation-duration: 2s;
|
| - animation-timing-function: linear;
|
| - animation-name: anim;
|
| - background-color: blue;
|
| - width: 100px;
|
| - height: 100px;
|
| - }
|
| - @keyframes anim {
|
| - from { transform: rotate(0) scale(1,1); }
|
| - to { transform: rotate(360deg) scale(2,4); }
|
| - }
|
| - </style>
|
| -</head>
|
| -<body>
|
| -<div id="box">
|
| -</div>
|
| -<p>This should not crash</p>
|
| -</body>
|
| -</html>
|
| -
|
| -<script>
|
| -
|
| -var element;
|
| -
|
| -function crash() {
|
| - // trigger style processing
|
| - document.alinkColor = "aaa";
|
| - // now remove the body and insert it in a different location
|
| - element = document.body;
|
| - element.parentNode.removeChild(element);
|
| - document.getElementById("a").parentNode.insertBefore(element, document.getElementById("a").nextSibling);
|
| - setTimeout(cleanup, 0);
|
| -}
|
| -
|
| -function cleanup() {
|
| - document.getElementById("b").parentNode.insertBefore(element, document.getElementById("b").nextSibling);
|
| -
|
| - if (window.testRunner)
|
| - testRunner.notifyDone();
|
| -}
|
| -
|
| -if (window.testRunner) {
|
| - testRunner.dumpAsText();
|
| - testRunner.waitUntilDone();
|
| -}
|
| -
|
| -crash();
|
| -</script>
|
|
|