Index: LayoutTests/fast/layers/layer-status-change-crash.html |
diff --git a/LayoutTests/fast/layers/layer-status-change-crash.html b/LayoutTests/fast/layers/layer-status-change-crash.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2afaed2c91abce05b39a5aa7c8b5ec27f7131b32 |
--- /dev/null |
+++ b/LayoutTests/fast/layers/layer-status-change-crash.html |
@@ -0,0 +1,22 @@ |
+<!DOCTYPE HTML> |
+<body> |
+<div id="div">This test passes if it does not crash.</div> |
+<script> |
+if (window.testRunner) { |
+ testRunner.waitUntilDone(); |
+ testRunner.dumpAsText(); |
+ |
+ var div = document.getElementById('div'); |
+ testRunner.displayAsyncThen(function() { |
+ div.style.position = 'relative'; |
+ div.style.backgroundColor = 'blue'; |
+ testRunner.displayAsyncThen(function() { |
+ div.textContent += ' PASS'; |
+ testRunner.notifyDone(); |
+ }); |
+ }); |
+} else { |
+ document.body.textContent = 'This test needs DumpRenderTree.'; |
+} |
+</script> |
+</body> |