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

Unified Diff: LayoutTests/virtual/threaded/animations/composited-filter-webkit-filter.html

Issue 1319083003: Ignore filter property in CSS Animations (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: -\n 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
« no previous file with comments | « no previous file | Source/core/animation/css/CSSAnimations.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/virtual/threaded/animations/composited-filter-webkit-filter.html
diff --git a/LayoutTests/virtual/threaded/animations/composited-filter-webkit-filter.html b/LayoutTests/virtual/threaded/animations/composited-filter-webkit-filter.html
new file mode 100644
index 0000000000000000000000000000000000000000..cc1337463dd48bac207066b9ca774019a7a66c7e
--- /dev/null
+++ b/LayoutTests/virtual/threaded/animations/composited-filter-webkit-filter.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<script src="../../../resources/testharness.js"></script>
+<script src="../../../resources/testharnessreport.js"></script>
+<style>
+@keyframes test {
+ from {
+ -webkit-filter: saturate(0);
+ filter: none;
+ }
+ to {
+ -webkit-filter: saturate(1);
+ filter: none;
+ }
+}
+#target {
+ animation: test 1e10s;
+}
+</style>
+<div id="target"></div>
+<script>
+var asyncHandle = async_test('-webkit-filter + filter animations get composited.');
+requestAnimationFrame(_ => {
+ requestAnimationFrame(_ => {
+ asyncHandle.step(_ => {
+ assert_true(internals.isCompositedAnimation(target.getAnimations()[0]));
+ });
+ asyncHandle.done();
+ });
+});
+</script>
« no previous file with comments | « no previous file | Source/core/animation/css/CSSAnimations.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698