Commit 451706e8 authored by Kevin Ellis's avatar Kevin Ellis Committed by Chromium LUCI CQ

Fix flake in translate-neutral-keyframe-easing test.

Presently the test with the highest flake score under Blink>Animation.
The cause of the flake is text aliasing differences; however, the test
is not specifically for antialiasing but merely ensuring that an
animation containing a neutral keyframe takes effect.  Replacing the
text with a box addresses the flake.

Bug: 1165833
Change-Id: Ic87010210eda9055c0f67d996267cd9a814ad5d2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2623819Reviewed-by: default avatarXida Chen <xidachen@chromium.org>
Commit-Queue: Kevin Ellis <kevers@chromium.org>
Cr-Commit-Position: refs/heads/master@{#843578}
parent ebd8e436
<!DOCTYPE html>
<div id="target" style="translate: 50px">TEST</div>
<style>
#target {
background: green;
height: 100px;
width: 100px;
will-change: transform;
}
</style>
<body>
<div id="target" style="translate: 50px"></div>
</body>
<!DOCTYPE html>
<div id="target">TEST</div>
<style>
#target {
background: green;
height: 100px;
width: 100px;
will-change: transform;
}
</style>
<body>
<div id="target"></div>
<script>
target.animate({translate: '100px'}, {duration: 2e10, delay: -1e10});
</script>
</body>
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