Commit a08572dc authored by Fredrik Hubinette's avatar Fredrik Hubinette Committed by Commit Bot

Revert "[animation-worklet] Rename layout tests"

This reverts commit 46b03fcf.

Reason for revert:

Seems to break fast/events/middleClickAutoscroll-nested-divs.html on several platforms. Example here:
https://ci.chromium.org/p/chromium/builders/luci.chromium.ci/Mac10.10%20Tests/34202


Original change's description:
> [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/1165271
> Reviewed-by: Majid Valipour <majidvp@chromium.org>
> Reviewed-by: Yi Gu <yigu@chromium.org>
> Commit-Queue: Majid Valipour <majidvp@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#581552}

TBR=majidvp@chromium.org,yigu@chromium.org

Change-Id: If81712c7089784772b5a106159c70bdd7cbce9c8
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_slimming_paint_v2;master.tryserver.blink:linux_trusty_blink_rel
Reviewed-on: https://chromium-review.googlesource.com/1167766Reviewed-by: default avatarFredrik Hubinette <hubbe@chromium.org>
Commit-Queue: Fredrik Hubinette <hubbe@chromium.org>
Cr-Commit-Position: refs/heads/master@{#581653}
parent 10a2f454
......@@ -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/animator-animate.html [ Failure ]
crbug.com/855691 virtual/threaded/fast/animationworklet/animator-with-options.html [ Failure ]
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/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;
background-color: #00ff00;
transform: translate(0, 100px);
opacity: 0.5;
will-change: transform; /* force compositing */
/* 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 {
width: 100px;
height: 100px;
#covered, #green {
width: 85px;
height: 85px;
}
#box, #covered {
background-color: #ff8080;
overflow: auto;
}
#green {
position: relative;
left: 100px;
top: 100px;
background-color: #00ff00;
}
</style>
<div id="box"></div>
<div id="box">
<div id="green"></div>
</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