Files
sousa-gecko/testing/web-platform/meta/css/css-animations/KeyframeEffect-getKeyframes.tentative.html.ini
T
Boris Chiou 382b0acde5 Bug 2016574 - Reorder keyframes and update the default keyframe-specific composite for missing keyframes. r=firefox-style-system-reviewers,layout-scroll-driven-animation-reviewers,dshin
In order to fix the failure of merge-timeline-offset-keyframes.html
(and others), we have to do two things together:
1. Make sure we use the specified keyframe order when creating/merging
   keyframes. The later one overrides the previous ones, so we have to
   check the keyframes in the reverse order, for the keyfraems with
   timeline range names.
2. Fix the default composite for the generated 0% and 100% keyframes.
   Per spec, we use the default composite as their keyframe-specific
   composite, and the default composite is the corresponding computed value
   of animation-composition on element [1]. For the user-specified 0%
   and 100% keyframes, we still use auto because we don't resolve it
   when creating the animations.

Note: It's unfortunate we have to resolve the composite of the generated
keyframes earlier. This may have issues if someone changes the
animation-composition property after creating the animations.
I believe we will fix this in Bug 2037642 as well once we generate the
missing keyframes on demand.

[1] https://drafts.csswg.org/css-animations-2/#keyframes

Differential Revision: https://phabricator.services.mozilla.com/D311207
2026-07-09 20:23:52 +00:00

17 lines
895 B
INI

[KeyframeEffect-getKeyframes.tentative.html]
expected:
if (os == "android") and fission: [OK, TIMEOUT]
[KeyframeEffect.getKeyframes() returns expected frames for an animation with multiple keyframes for the same time and with different easing functions and composite operations]
bugs: https://bugzilla.mozilla.org/show_bug.cgi?id=1778402
expected: FAIL
[KeyframeEffect.getKeyframes() returns expected values for animations with implicit values and a non-default timingfunction specified for 0% and 100%]
bugs: https://bugzilla.mozilla.org/show_bug.cgi?id=1778403
expected: FAIL
[KeyframeEffect.getKeyframes() returns expected values for animations with a CSS variable which is overriden by the value in keyframe]
expected: FAIL
[KeyframeEffect.getKeyframes() returns expected values for animations with only custom property in a keyframe]
expected: FAIL