fune/testing/web-platform/tests/css/css-animations/nested-scale-animations-ref.html
Xianzhu Wang dc7fcb3291 Bug 1702616 [wpt PR 28342] - Try to deflake css/css-animations/nested-scale-animations.html, a=testonly
Automatic update from web-platform-tests
Try to deflake css/css-animations/nested-scale-animations.html

- Reduce the size and the scale to avoid maximum scale clamping (which
  is the mainn reason of the test failing under virtual/threaded on
  Chrome).
- Use 'forwards' instead of 'infinite' for the animation, so that in
  case of capture happening after the end of the animation, the test
  will still pass.
- Wait for start of the animation, to avoid the test ending before the
  animation starts.
- Increase the delay of capturing to be near the end of the animation,
  to avoid the capture happening during animation from scale 1 to 10.

Bug: 1169154
Change-Id: I28e4dd6300377cf5524681f85ac099611ea617e4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2798031
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Reviewed-by: Stephen Chenney <schenney@chromium.org>
Cr-Commit-Position: refs/heads/master@{#868601}

--

wpt-commits: 9a53c9052657ebdbe88ad3389faec678aa7d2302
wpt-pr: 28342
2021-04-08 10:47:52 +00:00

4 lines
180 B
HTML

<!DOCTYPE html>
<div style="width: 100px; height: 45px; background: blue"></div>
<div style="height: 10px"></div>
<div style="width: 100px; height: 45px; background: green"></div>