Use "step-end" easing in two-clip-path-animation-diff-length* WPT tests
Categories
(Core :: CSS Parsing and Computation, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox115 | --- | fixed |
People
(Reporter: dholbert, Assigned: dholbert)
References
Details
Attachments
(1 file)
Per review suggestion:
https://phabricator.services.mozilla.com/D178876#5901710
The two-clip-path-animation-diff-length*
WPTs have animations that are expected to be sampled near the start of the animation where we assume the value is still close-enough to its initial value to be indistinguishable from that state.
If the snapshot is a little bit later than expected, it might sample a fractional pixel value for that property and spuriously fail the test.
As hiro notes, we can use step-end
easing to avoid that problem.
Assignee | ||
Comment 1•2 years ago
|
||
Also, increase the length of a fairly-short animation in
two-clip-path-animation-diff-length3.html from 2s to 20s, to avoid intermittent
failures. The test is assuming that the snapshot will happen while the
animation is playing, but the reftest-snapshot isn't guaranteed to be
instantaneous, and under certain configurations, it might be delayed a little
bit and get taken after the 2-second animation has finished playing.
Depends on D178876
Assignee | ||
Comment 4•2 years ago
|
||
CC @jgraham - would you mind helping with comment 3?
(This patch landed as part of a stack, with bug 1834651 (earlier in the stack) making a change to the same line, which this layered on top of. Maybe that resulted in the bot thinking they were two independent changes and producing a merge conflict?)
Assignee | ||
Updated•2 years ago
|
Comment 5•2 years ago
|
||
bugherder |
Updated•2 years ago
|
Description
•