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> |