Skip to content

Commit e59380d

Browse files
dholbertmoz-wptsync-bot
authored andcommitted
Use "step-end" animation easing function in two-clip-path-animation-diff-length* WPTs.
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 Differential Revision: https://phabricator.services.mozilla.com/D178889 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1834665 gecko-commit: 36068bff405643ea6dc6af08f36a3d697ce52f73 gecko-reviewers: hiro
1 parent 6bafaf3 commit e59380d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

css/css-masking/clip-path/animations/two-clip-path-animation-diff-length1.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
width: 100px;
88
height: 100px;
99
background-color: green;
10-
animation: clippath2 10s, clippath1 0.001s;
10+
animation: clippath2 10s step-end, clippath1 0.001s;
1111
}
1212

1313
@keyframes clippath1 {

css/css-masking/clip-path/animations/two-clip-path-animation-diff-length2.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
width: 100px;
88
height: 100px;
99
background-color: green;
10-
animation: clippath2 100s, clippath1 20s 30s;
10+
animation: clippath2 100s step-end, clippath1 20s 30s;
1111
}
1212

1313
@keyframes clippath1 {

css/css-masking/clip-path/animations/two-clip-path-animation-diff-length3.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
width: 100px;
88
height: 100px;
99
background-color: green;
10-
animation: clippath2 10000s, clippath1 2s 0.001s;
10+
animation: clippath2 10000s step-end, clippath1 20s 0.001s;
1111
}
1212

1313
/* Use un-interpolatable keyframes to force discrete transition */

0 commit comments

Comments
 (0)