Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(158)

Unified Diff: LayoutTests/animations/composited-with-hit-testing.html

Issue 1319653002: Web Animations: Don't suppress graphics layer properties when cancelling animations (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698