Open Bug 1467750 Opened 7 years ago Updated 3 years ago

[wpt-sync] Sync PR 11404 - Make set-animation-play-state-to-paused-002 more robust

Categories

(Testing :: web-platform-tests, defect, P4)

defect

Tracking

(Not tracked)

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream error])

Sync web-platform-tests PR 11404 into mozilla-central (this bug is closed when the sync is complete). PR: https://github.com/web-platform-tests/wpt/pull/11404 Details from upstream follow. Frédéric Wang <fwang@igalia.com> wrote: > Make set-animation-play-state-to-paused-002 more robust > > This is a follow-up of https://github.com/web-platform-tests/wpt/pull/11200, trying to make it more robust after review comments on another PR. > > - Increase the height of covering rect to avoid anti-aliasing issue with the red lines. > - Instead of waiting a delay, use the shift returned by getComputedStyle() to know when animated lines are supposed to be hidden by the green rect. > - Instead of waiting an additional amount of time to ensure red lines will show up again if they were not paused, just use the animation duration to decide when the screenshot should be taken. >
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.