Index: LayoutTests/animations/composited-with-hit-testing.html |
diff --git a/LayoutTests/animations/composited-with-hit-testing.html b/LayoutTests/animations/composited-with-hit-testing.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..4bf078c1815024afc900d2526f86353c9cdd9a89 |
--- /dev/null |
+++ b/LayoutTests/animations/composited-with-hit-testing.html |
@@ -0,0 +1,26 @@ |
+<!DOCTYPE html> |
+<style> |
+#target { |
+ width: 50px; |
+ height: 50px; |
+ background-color: green; |
+} |
+</style> |
+<div id=target></div> |
+<script> |
+testRunner.waitUntilDone(); |
+var anim; |
+requestAnimationFrame(function() { |
+ anim = target.animate([ |
+ {transform: 'translateX(0px)'}, |
+ {transform: 'translateX(1000px)'}, |
+ ], 1000); |
+ setTimeout(function() { |
+ eventSender.mouseMoveTo(1, 1); |
+ eventSender.mouseMoveTo(1, 2); |
+ anim.pause(); |
+ anim.currentTime = 500; |
+ testRunner.notifyDone(); |
+ }); |
+}); |
+</script> |