Commit 46b03fcf authored by Majid Valipour's avatar Majid Valipour Committed by Commit Bot

[animation-worklet] Rename layout tests

Remove "animation-worklet-' prefix from layout tests. The tests are inside AW
directory so the prefix is just visual clutter. I kept it for tests that check
something about the worklet itself.

Note: There was a legacy unused animationworklet/visual-update-expected.html
file that this patch replaces now.

Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_slimming_paint_v2;master.tryserver.blink:linux_trusty_blink_rel
Change-Id: I67a36d7d5913b1394108b8a1731cc660d74f99ad
Reviewed-on: https://chromium-review.googlesource.com/1165271Reviewed-by: default avatarMajid Valipour <majidvp@chromium.org>
Reviewed-by: default avatarYi Gu <yigu@chromium.org>
Commit-Queue: Majid Valipour <majidvp@chromium.org>
Cr-Commit-Position: refs/heads/master@{#581552}
parent 9bb4d543
......@@ -147,8 +147,8 @@ crbug.com/855688 transitions/opacity-transform-transitions-inside-iframe.html [
crbug.com/855688 transitions/transition-end-event-destroy-iframe.html [ Timeout ]
crbug.com/855688 virtual/threaded/transitions/opacity-transform-transitions-inside-iframe.html [ Timeout ]
crbug.com/855688 virtual/threaded/transitions/transition-end-event-destroy-iframe.html [ Timeout ]
crbug.com/855691 virtual/threaded/fast/animationworklet/animation-worklet-animator-animate.html [ Failure ]
crbug.com/855691 virtual/threaded/fast/animationworklet/animation-worklet-animator-with-options.html [ Failure ]
crbug.com/855691 virtual/threaded/fast/animationworklet/animator-animate.html [ Failure ]
crbug.com/855691 virtual/threaded/fast/animationworklet/animator-with-options.html [ Failure ]
crbug.com/855691 virtual/threaded/fast/animationworklet/worklet-animation-currentTime.html [ Failure ]
crbug.com/855702 virtual/threaded/animations/composited-filter-webkit-filter.html [ Failure ]
crbug.com/855702 virtual/threaded/animations/img-element-transform.html [ Timeout Failure Pass ]
......
<!DOCTYPE html>
<style>
#box {
width: 100px;
height: 100px;
background-color: #00ff00;
transform: translate(0, 100px);
opacity: 0.5;
will-change: transform; /* force compositing */
}
#covered {
width: 100px;
height: 100px;
background-color: #ff8080;
}
</style>
<div id="box"></div>
<div id="covered"></div>
<!DOCTYPE html>
<!--
Tests that a change from the worker produces a visual update.
-->
<style>
#box {
width: 100px;
height: 100px;
/* A composited DIV background is clipped differently from a non-composited
one. This causes the box to be composited in both cases
TODO(majidvp): fix this mismatch between CC and blink rendering
*/
backface-visibility: hidden;
}
#covered, #green {
width: 85px;
height: 85px;
background-color: #00ff00;
transform: translate(0, 100px);
opacity: 0.5;
will-change: transform; /* force compositing */
}
#box, #covered {
#covered {
width: 100px;
height: 100px;
background-color: #ff8080;
overflow: auto;
}
#green {
position: relative;
left: 100px;
top: 100px;
background-color: #00ff00;
}
</style>
<div id="box">
<div id="green"></div>
</div>
<div id="box"></div>
<div id="covered"></div>
<script>
var box = document.getElementById('box');
box.style.transform = 'translate(0, 100px)';
box.style.opacity = 0.5;
box.scrollLeft = 100;
box.scrollTop = 100;
</script>
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