Skip to content

Truly independent web browser

LibWeb: Treat a `null` keyframe offset as a missing offset

Tim Ledbetter85cd1061ff0b
diff --git a/Libraries/LibWeb/Animations/KeyframeEffect.cpp b/Libraries/LibWeb/Animations/KeyframeEffect.cpp
index 391a1b0aa4d..1eb794568b6 100644
--- a/Libraries/LibWeb/Animations/KeyframeEffect.cpp
+++ b/Libraries/LibWeb/Animations/KeyframeEffect.cpp
@@ -79,7 +79,7 @@ static WebIDL::ExceptionOr<KeyframeType<AL>> process_a_keyframe_like_object(JS::
auto& vm = realm.vm();
Function<WebIDL::ExceptionOr<Optional<double>>(JS::Value)> to_offset = [&vm](JS::Value value) -> WebIDL::ExceptionOr<Optional<double>> {
- if (value.is_undefined())
+ if (value.is_nullish())
return Optional<double> {};
auto double_value = TRY(value.to_double(vm));
if (isnan(double_value) || isinf(double_value))
diff --git a/Tests/LibWeb/Text/expected/wpt-import/web-animations/interfaces/Animatable/animate.txt b/Tests/LibWeb/Text/expected/wpt-import/web-animations/interfaces/Animatable/animate.txt
index 758c1b3b3b6..db0b0a94d05 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/web-animations/interfaces/Animatable/animate.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/web-animations/interfaces/Animatable/animate.txt
@@ -2,8 +2,8 @@ Harness status: OK
Found 153 tests
-144 Pass
-9 Fail
+151 Pass
+2 Fail
Pass Element.animate() creates an Animation object
Pass Element.animate() creates an Animation object in the relevant realm of the target element
Pass Element.animate() creates an Animation object with a KeyframeEffect
@@ -31,11 +31,11 @@ Pass Element.animate() accepts a property-indexed keyframe with an array of offs
Pass Element.animate() accepts a property-indexed keyframe with an array of offsets that is too short
Pass Element.animate() accepts a property-indexed keyframe with an array of offsets that is too long
Pass Element.animate() accepts a property-indexed keyframe with an empty array of offsets
-Fail Element.animate() accepts a property-indexed keyframe with an array of offsets with an embedded null value
-Fail Element.animate() accepts a property-indexed keyframe with an array of offsets with a trailing null value
-Fail Element.animate() accepts a property-indexed keyframe with an array of offsets with leading and trailing null values
-Fail Element.animate() accepts a property-indexed keyframe with an array of offsets with adjacent null values
-Fail Element.animate() accepts a property-indexed keyframe with an array of offsets with all null values (and too many at that)
+Pass Element.animate() accepts a property-indexed keyframe with an array of offsets with an embedded null value
+Pass Element.animate() accepts a property-indexed keyframe with an array of offsets with a trailing null value
+Pass Element.animate() accepts a property-indexed keyframe with an array of offsets with leading and trailing null values
+Pass Element.animate() accepts a property-indexed keyframe with an array of offsets with adjacent null values
+Pass Element.animate() accepts a property-indexed keyframe with an array of offsets with all null values (and too many at that)
Pass Element.animate() accepts a property-indexed keyframe with a single null offset
Pass Element.animate() accepts a property-indexed keyframe with an array of offsets that is not strictly ascending in the unused part of the array
Pass Element.animate() accepts a property-indexed keyframe without any specified easing
@@ -65,11 +65,11 @@ Pass Element.animate() accepts a keyframe sequence with duplicate values for a g
Pass Element.animate() accepts a keyframe sequence with duplicate values for offsets 0 and 1
Pass Element.animate() accepts a two property four keyframe sequence
Pass Element.animate() accepts a single keyframe sequence with omitted offset
-Fail Element.animate() accepts a single keyframe sequence with null offset
+Pass Element.animate() accepts a single keyframe sequence with null offset
Pass Element.animate() accepts a single keyframe sequence with string offset
Fail Element.animate() accepts a single keyframe sequence with a single calc() offset
Pass Element.animate() accepts a one property keyframe sequence with some omitted offsets
-Fail Element.animate() accepts a one property keyframe sequence with some null offsets
+Pass Element.animate() accepts a one property keyframe sequence with some null offsets
Pass Element.animate() accepts a two property keyframe sequence with some omitted offsets
Pass Element.animate() accepts a one property keyframe sequence with all omitted offsets
Pass Element.animate() accepts a keyframe sequence with different easing values, but the same easing value for a given offset
diff --git a/Tests/LibWeb/Text/expected/wpt-import/web-animations/interfaces/KeyframeEffect/constructor.txt b/Tests/LibWeb/Text/expected/wpt-import/web-animations/interfaces/KeyframeEffect/constructor.txt
index 724794903fe..337ac46ff03 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/web-animations/interfaces/KeyframeEffect/constructor.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/web-animations/interfaces/KeyframeEffect/constructor.txt
@@ -2,8 +2,8 @@ Harness status: OK
Found 175 tests
-124 Pass
-51 Fail
+172 Pass
+3 Fail
Pass A KeyframeEffect can be constructed with no frames
Pass easing values are parsed correctly when passed to the KeyframeEffect constructor in KeyframeEffectOptions
Pass Invalid easing values are correctly rejected when passed to the KeyframeEffect constructor in KeyframeEffectOptions
@@ -11,83 +11,83 @@ Pass composite values are parsed correctly when passed to the KeyframeEffect con
Pass composite values are parsed correctly when passed to the KeyframeEffect constructor in regular keyframes
Pass composite value is auto if the composite operation specified on the keyframe effect is being used
Pass A KeyframeEffect can be constructed with a one property two value property-indexed keyframes specification
-Fail A KeyframeEffect constructed with a one property two value property-indexed keyframes specification roundtrips
+Pass A KeyframeEffect constructed with a one property two value property-indexed keyframes specification roundtrips
Pass A KeyframeEffect can be constructed with a one shorthand property two value property-indexed keyframes specification
-Fail A KeyframeEffect constructed with a one shorthand property two value property-indexed keyframes specification roundtrips
+Pass A KeyframeEffect constructed with a one shorthand property two value property-indexed keyframes specification roundtrips
Pass A KeyframeEffect can be constructed with a two property (one shorthand and one of its longhand components) two value property-indexed keyframes specification
-Fail A KeyframeEffect constructed with a two property (one shorthand and one of its longhand components) two value property-indexed keyframes specification roundtrips
+Pass A KeyframeEffect constructed with a two property (one shorthand and one of its longhand components) two value property-indexed keyframes specification roundtrips
Pass A KeyframeEffect can be constructed with a two property (one shorthand and one of its shorthand components) two value property-indexed keyframes specification
-Fail A KeyframeEffect constructed with a two property (one shorthand and one of its shorthand components) two value property-indexed keyframes specification roundtrips
+Pass A KeyframeEffect constructed with a two property (one shorthand and one of its shorthand components) two value property-indexed keyframes specification roundtrips
Pass A KeyframeEffect can be constructed with a two property two value property-indexed keyframes specification
-Fail A KeyframeEffect constructed with a two property two value property-indexed keyframes specification roundtrips
+Pass A KeyframeEffect constructed with a two property two value property-indexed keyframes specification roundtrips
Pass A KeyframeEffect can be constructed with a two property property-indexed keyframes specification with different numbers of values
-Fail A KeyframeEffect constructed with a two property property-indexed keyframes specification with different numbers of values roundtrips
+Pass A KeyframeEffect constructed with a two property property-indexed keyframes specification with different numbers of values roundtrips
Pass A KeyframeEffect can be constructed with a property-indexed keyframes specification with an invalid value
-Fail A KeyframeEffect constructed with a property-indexed keyframes specification with an invalid value roundtrips
+Pass A KeyframeEffect constructed with a property-indexed keyframes specification with an invalid value roundtrips
Pass A KeyframeEffect can be constructed with a one property two value property-indexed keyframes specification that needs to stringify its values
-Fail A KeyframeEffect constructed with a one property two value property-indexed keyframes specification that needs to stringify its values roundtrips
+Pass A KeyframeEffect constructed with a one property two value property-indexed keyframes specification that needs to stringify its values roundtrips
Pass A KeyframeEffect can be constructed with a property-indexed keyframes specification with a CSS variable reference
-Fail A KeyframeEffect constructed with a property-indexed keyframes specification with a CSS variable reference roundtrips
+Pass A KeyframeEffect constructed with a property-indexed keyframes specification with a CSS variable reference roundtrips
Pass A KeyframeEffect can be constructed with a property-indexed keyframes specification with a CSS variable reference in a shorthand property
-Fail A KeyframeEffect constructed with a property-indexed keyframes specification with a CSS variable reference in a shorthand property roundtrips
+Pass A KeyframeEffect constructed with a property-indexed keyframes specification with a CSS variable reference in a shorthand property roundtrips
Pass A KeyframeEffect can be constructed with a one property one value property-indexed keyframes specification
-Fail A KeyframeEffect constructed with a one property one value property-indexed keyframes specification roundtrips
+Pass A KeyframeEffect constructed with a one property one value property-indexed keyframes specification roundtrips
Pass A KeyframeEffect can be constructed with a one property one non-array value property-indexed keyframes specification
-Fail A KeyframeEffect constructed with a one property one non-array value property-indexed keyframes specification roundtrips
+Pass A KeyframeEffect constructed with a one property one non-array value property-indexed keyframes specification roundtrips
Pass A KeyframeEffect can be constructed with a one property two value property-indexed keyframes specification where the first value is invalid
-Fail A KeyframeEffect constructed with a one property two value property-indexed keyframes specification where the first value is invalid roundtrips
+Pass A KeyframeEffect constructed with a one property two value property-indexed keyframes specification where the first value is invalid roundtrips
Pass A KeyframeEffect can be constructed with a one property two value property-indexed keyframes specification where the second value is invalid
-Fail A KeyframeEffect constructed with a one property two value property-indexed keyframes specification where the second value is invalid roundtrips
+Pass A KeyframeEffect constructed with a one property two value property-indexed keyframes specification where the second value is invalid roundtrips
Pass A KeyframeEffect can be constructed with a property-indexed keyframes specification with a CSS variable as the property
-Fail A KeyframeEffect constructed with a property-indexed keyframes specification with a CSS variable as the property roundtrips
+Pass A KeyframeEffect constructed with a property-indexed keyframes specification with a CSS variable as the property roundtrips
Pass A KeyframeEffect can be constructed with a property-indexed keyframe with a single offset
-Fail A KeyframeEffect constructed with a property-indexed keyframe with a single offset roundtrips
+Pass A KeyframeEffect constructed with a property-indexed keyframe with a single offset roundtrips
Pass A KeyframeEffect can be constructed with a property-indexed keyframe with an array of offsets
Pass A KeyframeEffect constructed with a property-indexed keyframe with an array of offsets roundtrips
Pass A KeyframeEffect can be constructed with a property-indexed keyframe with an array of offsets that is too short
-Fail A KeyframeEffect constructed with a property-indexed keyframe with an array of offsets that is too short roundtrips
+Pass A KeyframeEffect constructed with a property-indexed keyframe with an array of offsets that is too short roundtrips
Pass A KeyframeEffect can be constructed with a property-indexed keyframe with an array of offsets that is too long
Pass A KeyframeEffect constructed with a property-indexed keyframe with an array of offsets that is too long roundtrips
Pass A KeyframeEffect can be constructed with a property-indexed keyframe with an empty array of offsets
-Fail A KeyframeEffect constructed with a property-indexed keyframe with an empty array of offsets roundtrips
-Fail A KeyframeEffect can be constructed with a property-indexed keyframe with an array of offsets with an embedded null value
+Pass A KeyframeEffect constructed with a property-indexed keyframe with an empty array of offsets roundtrips
+Pass A KeyframeEffect can be constructed with a property-indexed keyframe with an array of offsets with an embedded null value
Pass A KeyframeEffect constructed with a property-indexed keyframe with an array of offsets with an embedded null value roundtrips
-Fail A KeyframeEffect can be constructed with a property-indexed keyframe with an array of offsets with a trailing null value
-Fail A KeyframeEffect constructed with a property-indexed keyframe with an array of offsets with a trailing null value roundtrips
-Fail A KeyframeEffect can be constructed with a property-indexed keyframe with an array of offsets with leading and trailing null values
-Fail A KeyframeEffect constructed with a property-indexed keyframe with an array of offsets with leading and trailing null values roundtrips
-Fail A KeyframeEffect can be constructed with a property-indexed keyframe with an array of offsets with adjacent null values
+Pass A KeyframeEffect can be constructed with a property-indexed keyframe with an array of offsets with a trailing null value
+Pass A KeyframeEffect constructed with a property-indexed keyframe with an array of offsets with a trailing null value roundtrips
+Pass A KeyframeEffect can be constructed with a property-indexed keyframe with an array of offsets with leading and trailing null values
+Pass A KeyframeEffect constructed with a property-indexed keyframe with an array of offsets with leading and trailing null values roundtrips
+Pass A KeyframeEffect can be constructed with a property-indexed keyframe with an array of offsets with adjacent null values
Pass A KeyframeEffect constructed with a property-indexed keyframe with an array of offsets with adjacent null values roundtrips
-Fail A KeyframeEffect can be constructed with a property-indexed keyframe with an array of offsets with all null values (and too many at that)
+Pass A KeyframeEffect can be constructed with a property-indexed keyframe with an array of offsets with all null values (and too many at that)
Pass A KeyframeEffect constructed with a property-indexed keyframe with an array of offsets with all null values (and too many at that) roundtrips
Pass A KeyframeEffect can be constructed with a property-indexed keyframe with a single null offset
-Fail A KeyframeEffect constructed with a property-indexed keyframe with a single null offset roundtrips
+Pass A KeyframeEffect constructed with a property-indexed keyframe with a single null offset roundtrips
Pass A KeyframeEffect can be constructed with a property-indexed keyframe with an array of offsets that is not strictly ascending in the unused part of the array
Pass A KeyframeEffect constructed with a property-indexed keyframe with an array of offsets that is not strictly ascending in the unused part of the array roundtrips
Pass A KeyframeEffect can be constructed with a property-indexed keyframe without any specified easing
-Fail A KeyframeEffect constructed with a property-indexed keyframe without any specified easing roundtrips
+Pass A KeyframeEffect constructed with a property-indexed keyframe without any specified easing roundtrips
Pass A KeyframeEffect can be constructed with a property-indexed keyframe with a single easing
-Fail A KeyframeEffect constructed with a property-indexed keyframe with a single easing roundtrips
+Pass A KeyframeEffect constructed with a property-indexed keyframe with a single easing roundtrips
Pass A KeyframeEffect can be constructed with a property-indexed keyframe with an array of easings
-Fail A KeyframeEffect constructed with a property-indexed keyframe with an array of easings roundtrips
+Pass A KeyframeEffect constructed with a property-indexed keyframe with an array of easings roundtrips
Pass A KeyframeEffect can be constructed with a property-indexed keyframe with an array of easings that is too short
-Fail A KeyframeEffect constructed with a property-indexed keyframe with an array of easings that is too short roundtrips
+Pass A KeyframeEffect constructed with a property-indexed keyframe with an array of easings that is too short roundtrips
Pass A KeyframeEffect can be constructed with a property-indexed keyframe with a single-element array of easings
-Fail A KeyframeEffect constructed with a property-indexed keyframe with a single-element array of easings roundtrips
+Pass A KeyframeEffect constructed with a property-indexed keyframe with a single-element array of easings roundtrips
Pass A KeyframeEffect can be constructed with a property-indexed keyframe with an empty array of easings
-Fail A KeyframeEffect constructed with a property-indexed keyframe with an empty array of easings roundtrips
+Pass A KeyframeEffect constructed with a property-indexed keyframe with an empty array of easings roundtrips
Pass A KeyframeEffect can be constructed with a property-indexed keyframe with an array of easings that is too long
-Fail A KeyframeEffect constructed with a property-indexed keyframe with an array of easings that is too long roundtrips
+Pass A KeyframeEffect constructed with a property-indexed keyframe with an array of easings that is too long roundtrips
Pass A KeyframeEffect can be constructed with a property-indexed keyframe with a single composite operation
-Fail A KeyframeEffect constructed with a property-indexed keyframe with a single composite operation roundtrips
+Pass A KeyframeEffect constructed with a property-indexed keyframe with a single composite operation roundtrips
Pass A KeyframeEffect can be constructed with a property-indexed keyframe with a composite array
-Fail A KeyframeEffect constructed with a property-indexed keyframe with a composite array roundtrips
+Pass A KeyframeEffect constructed with a property-indexed keyframe with a composite array roundtrips
Pass A KeyframeEffect can be constructed with a property-indexed keyframe with a composite array that is too short
-Fail A KeyframeEffect constructed with a property-indexed keyframe with a composite array that is too short roundtrips
+Pass A KeyframeEffect constructed with a property-indexed keyframe with a composite array that is too short roundtrips
Pass A KeyframeEffect can be constructed with a property-indexed keyframe with a composite array that is too long
-Fail A KeyframeEffect constructed with a property-indexed keyframe with a composite array that is too long roundtrips
+Pass A KeyframeEffect constructed with a property-indexed keyframe with a composite array that is too long roundtrips
Pass A KeyframeEffect can be constructed with a property-indexed keyframe with a single-element composite array
-Fail A KeyframeEffect constructed with a property-indexed keyframe with a single-element composite array roundtrips
+Pass A KeyframeEffect constructed with a property-indexed keyframe with a single-element composite array roundtrips
Pass A KeyframeEffect can be constructed with a one property one keyframe sequence
Pass A KeyframeEffect constructed with a one property one keyframe sequence roundtrips
Pass A KeyframeEffect can be constructed with a one property two keyframe sequence
@@ -105,11 +105,11 @@ Pass A KeyframeEffect constructed with a two property keyframe sequence where on
Pass A KeyframeEffect can be constructed with a one property two keyframe sequence that needs to stringify its values
Pass A KeyframeEffect constructed with a one property two keyframe sequence that needs to stringify its values roundtrips
Pass A KeyframeEffect can be constructed with a keyframe sequence with a CSS variable reference
-Fail A KeyframeEffect constructed with a keyframe sequence with a CSS variable reference roundtrips
+Pass A KeyframeEffect constructed with a keyframe sequence with a CSS variable reference roundtrips
Pass A KeyframeEffect can be constructed with a keyframe sequence with a CSS variable reference in a shorthand property
-Fail A KeyframeEffect constructed with a keyframe sequence with a CSS variable reference in a shorthand property roundtrips
+Pass A KeyframeEffect constructed with a keyframe sequence with a CSS variable reference in a shorthand property roundtrips
Pass A KeyframeEffect can be constructed with a keyframe sequence with a CSS variable as its property
-Fail A KeyframeEffect constructed with a keyframe sequence with a CSS variable as its property roundtrips
+Pass A KeyframeEffect constructed with a keyframe sequence with a CSS variable as its property roundtrips
Pass A KeyframeEffect can be constructed with a keyframe sequence with duplicate values for a given interior offset
Pass A KeyframeEffect constructed with a keyframe sequence with duplicate values for a given interior offset roundtrips
Pass A KeyframeEffect can be constructed with a keyframe sequence with duplicate values for offsets 0 and 1
@@ -117,21 +117,21 @@ Pass A KeyframeEffect constructed with a keyframe sequence with duplicate values
Pass A KeyframeEffect can be constructed with a two property four keyframe sequence
Pass A KeyframeEffect constructed with a two property four keyframe sequence roundtrips
Pass A KeyframeEffect can be constructed with a single keyframe sequence with omitted offset
-Fail A KeyframeEffect constructed with a single keyframe sequence with omitted offset roundtrips
-Fail A KeyframeEffect can be constructed with a single keyframe sequence with null offset
+Pass A KeyframeEffect constructed with a single keyframe sequence with omitted offset roundtrips
+Pass A KeyframeEffect can be constructed with a single keyframe sequence with null offset
Pass A KeyframeEffect constructed with a single keyframe sequence with null offset roundtrips
Pass A KeyframeEffect can be constructed with a single keyframe sequence with string offset
Pass A KeyframeEffect constructed with a single keyframe sequence with string offset roundtrips
Fail A KeyframeEffect can be constructed with a single keyframe sequence with a single calc() offset
Fail A KeyframeEffect constructed with a single keyframe sequence with a single calc() offset roundtrips
Pass A KeyframeEffect can be constructed with a one property keyframe sequence with some omitted offsets
-Fail A KeyframeEffect constructed with a one property keyframe sequence with some omitted offsets roundtrips
-Fail A KeyframeEffect can be constructed with a one property keyframe sequence with some null offsets
-Fail A KeyframeEffect constructed with a one property keyframe sequence with some null offsets roundtrips
+Pass A KeyframeEffect constructed with a one property keyframe sequence with some omitted offsets roundtrips
+Pass A KeyframeEffect can be constructed with a one property keyframe sequence with some null offsets
+Pass A KeyframeEffect constructed with a one property keyframe sequence with some null offsets roundtrips
Pass A KeyframeEffect can be constructed with a two property keyframe sequence with some omitted offsets
-Fail A KeyframeEffect constructed with a two property keyframe sequence with some omitted offsets roundtrips
+Pass A KeyframeEffect constructed with a two property keyframe sequence with some omitted offsets roundtrips
Pass A KeyframeEffect can be constructed with a one property keyframe sequence with all omitted offsets
-Fail A KeyframeEffect constructed with a one property keyframe sequence with all omitted offsets roundtrips
+Pass A KeyframeEffect constructed with a one property keyframe sequence with all omitted offsets roundtrips
Pass A KeyframeEffect can be constructed with a keyframe sequence with different easing values, but the same easing value for a given offset
Pass A KeyframeEffect constructed with a keyframe sequence with different easing values, but the same easing value for a given offset roundtrips
Pass A KeyframeEffect can be constructed with a keyframe sequence with different composite values, but the same composite value for a given offset
diff --git a/Tests/LibWeb/Text/expected/wpt-import/web-animations/interfaces/KeyframeEffect/setKeyframes.txt b/Tests/LibWeb/Text/expected/wpt-import/web-animations/interfaces/KeyframeEffect/setKeyframes.txt
index f7ee624cc3e..e63a1ec46f3 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/web-animations/interfaces/KeyframeEffect/setKeyframes.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/web-animations/interfaces/KeyframeEffect/setKeyframes.txt
@@ -2,8 +2,8 @@ Harness status: OK
Found 80 tests
-72 Pass
-8 Fail
+79 Pass
+1 Fail
Pass Keyframes can be replaced with an empty keyframe
Pass Keyframes can be replaced with a one property two value property-indexed keyframes specification
Pass Keyframes can be replaced with a one shorthand property two value property-indexed keyframes specification
@@ -25,11 +25,11 @@ Pass Keyframes can be replaced with a property-indexed keyframe with an array of
Pass Keyframes can be replaced with a property-indexed keyframe with an array of offsets that is too short
Pass Keyframes can be replaced with a property-indexed keyframe with an array of offsets that is too long
Pass Keyframes can be replaced with a property-indexed keyframe with an empty array of offsets
-Fail Keyframes can be replaced with a property-indexed keyframe with an array of offsets with an embedded null value
-Fail Keyframes can be replaced with a property-indexed keyframe with an array of offsets with a trailing null value
-Fail Keyframes can be replaced with a property-indexed keyframe with an array of offsets with leading and trailing null values
-Fail Keyframes can be replaced with a property-indexed keyframe with an array of offsets with adjacent null values
-Fail Keyframes can be replaced with a property-indexed keyframe with an array of offsets with all null values (and too many at that)
+Pass Keyframes can be replaced with a property-indexed keyframe with an array of offsets with an embedded null value
+Pass Keyframes can be replaced with a property-indexed keyframe with an array of offsets with a trailing null value
+Pass Keyframes can be replaced with a property-indexed keyframe with an array of offsets with leading and trailing null values
+Pass Keyframes can be replaced with a property-indexed keyframe with an array of offsets with adjacent null values
+Pass Keyframes can be replaced with a property-indexed keyframe with an array of offsets with all null values (and too many at that)
Pass Keyframes can be replaced with a property-indexed keyframe with a single null offset
Pass Keyframes can be replaced with a property-indexed keyframe with an array of offsets that is not strictly ascending in the unused part of the array
Pass Keyframes can be replaced with a property-indexed keyframe without any specified easing
@@ -59,11 +59,11 @@ Pass Keyframes can be replaced with a keyframe sequence with duplicate values fo
Pass Keyframes can be replaced with a keyframe sequence with duplicate values for offsets 0 and 1
Pass Keyframes can be replaced with a two property four keyframe sequence
Pass Keyframes can be replaced with a single keyframe sequence with omitted offset
-Fail Keyframes can be replaced with a single keyframe sequence with null offset
+Pass Keyframes can be replaced with a single keyframe sequence with null offset
Pass Keyframes can be replaced with a single keyframe sequence with string offset
Fail Keyframes can be replaced with a single keyframe sequence with a single calc() offset
Pass Keyframes can be replaced with a one property keyframe sequence with some omitted offsets
-Fail Keyframes can be replaced with a one property keyframe sequence with some null offsets
+Pass Keyframes can be replaced with a one property keyframe sequence with some null offsets
Pass Keyframes can be replaced with a two property keyframe sequence with some omitted offsets
Pass Keyframes can be replaced with a one property keyframe sequence with all omitted offsets
Pass Keyframes can be replaced with a keyframe sequence with different easing values, but the same easing value for a given offset