Index: third_party/WebKit/LayoutTests/virtual/threaded/animations/resources/cancel-unattached-animation-frame.html |
diff --git a/third_party/WebKit/LayoutTests/virtual/threaded/animations/resources/cancel-unattached-animation-frame.html b/third_party/WebKit/LayoutTests/virtual/threaded/animations/resources/cancel-unattached-animation-frame.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..34e85ab70964fcc22059cf0a89941f4d650332c8 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/virtual/threaded/animations/resources/cancel-unattached-animation-frame.html |
@@ -0,0 +1,19 @@ |
+<!DOCTYPE html> |
+<style> |
+#animated { |
+ width: 100px; |
+ height: 100px; |
+ background: blue; |
+ opacity: 1; |
+ transition: opacity 1000s; |
+} |
+</style> |
+<div id="animated"></div> |
+<script> |
+onload = function() { |
+ animated.style.opacity = "0"; |
+ if (window.internals) |
+ window.internals.forceCompositingUpdate(document); |
+ parent.postMessage("done", "*"); |
+}; |
+</script> |