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

Unified Diff: third_party/WebKit/LayoutTests/virtual/threaded/animations/resources/cancel-unattached-animation-frame.html

Issue 1973083002: Use element id's for animations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 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: 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>

Powered by Google App Engine
This is Rietveld 408576698