Commit b6c74589 authored by Yi Gu's avatar Yi Gu Committed by Commit Bot

Remove force composition from animation worklet layout test

Previously we have to force compositing the animated target for worklet
animations. Given that the target with worklet animations has been
composited automatically after crrev.com/c/930128, there is no need to
keep the force composition in the test.

Change-Id: I5effd169844e0c08a3578b35ccacf886965fce37
Reviewed-on: https://chromium-review.googlesource.com/1167988Reviewed-by: default avatarMajid Valipour <majidvp@chromium.org>
Commit-Queue: Yi Gu <yigu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#584946}
parent ab3ab1ba
......@@ -4,7 +4,6 @@
width: 100px;
height: 100px;
background-color: #ff0000;
will-change: opacity;
}
</style>
<script id="main_worklet" type="text/worklet">
......
......@@ -20,7 +20,7 @@ registerAnimator("test_animator", class {
});
</script>
<div id="target" style="will-change: transform, opacity;"></div>
<div id="target"></div>
<script src="resources/animation-worklet-tests.js"></script>
<script>
......
......@@ -23,7 +23,7 @@ registerAnimator("test_animator", class {
});
</script>
<div id="target" style="will-change: transform, opacity;"></div>
<div id="target"></div>
<script src="resources/animation-worklet-tests.js"></script>
<script>
......
......@@ -4,7 +4,6 @@
width: 100px;
height: 100px;
background-color: #00ff00;
will-change: opacity;
}
</style>
<script src="animation-worklet-tests.js"></script>
......
......@@ -4,7 +4,6 @@
width: 100px;
height: 100px;
background-color: #0000ff;
will-change: transform; /* force compositing */
}
</style>
......
......@@ -4,11 +4,6 @@
width: 100px;
height: 100px;
background-color: #00ff00;
/*
* Force compositing.
* TODO(majidvp): Should not be needed when http://crbug.com/776533 is fixed.
*/
will-change: transform, opacity;
}
</style>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment