Changeset 233676 in webkit
- Timestamp:
- Jul 9, 2018 7:33:32 PM (6 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/imported/w3c/ChangeLog
r233667 r233676 1 2018-07-09 Antoine Quint <graouts@apple.com> 2 3 [Web Animations] Correct handle repetition of composite and easing values 4 https://bugs.webkit.org/show_bug.cgi?id=187498 5 <rdar://problem/41999183> 6 7 Reviewed by Dean Jackson. 8 9 Mark 6 new WPT progressions. 10 11 * web-platform-tests/web-animations/interfaces/Animatable/animate-expected.txt: 12 * web-platform-tests/web-animations/interfaces/KeyframeEffect/constructor-expected.txt: 13 * web-platform-tests/web-animations/interfaces/KeyframeEffect/setKeyframes-expected.txt: 14 1 15 2018-07-09 Antoine Quint <graouts@apple.com> 2 16 -
trunk/LayoutTests/imported/w3c/web-platform-tests/web-animations/interfaces/Animatable/animate-expected.txt
r233666 r233676 36 36 PASS Element.animate() accepts a property-indexed keyframe with a single easing 37 37 PASS Element.animate() accepts a property-indexed keyframe with an array of easings 38 FAIL Element.animate() accepts a property-indexed keyframe with an array of easings that is too short assert_equals: value for 'easing' on ComputedKeyframe #2 expected "ease-in" but got "ease-out" 38 PASS Element.animate() accepts a property-indexed keyframe with an array of easings that is too short 39 39 PASS Element.animate() accepts a property-indexed keyframe with a single-element array of easings 40 40 PASS Element.animate() accepts a property-indexed keyframe with an empty array of easings … … 42 42 PASS Element.animate() accepts a property-indexed keyframe with a single composite operation 43 43 PASS Element.animate() accepts a property-indexed keyframe with a composite array 44 FAIL Element.animate() accepts a property-indexed keyframe with a composite array that is too short assert_equals: value for 'composite' on ComputedKeyframe #2 expected "add" but got "replace" 44 PASS Element.animate() accepts a property-indexed keyframe with a composite array that is too short 45 45 PASS Element.animate() accepts a property-indexed keyframe with a composite array that is too long 46 46 PASS Element.animate() accepts a property-indexed keyframe with a single-element composite array -
trunk/LayoutTests/imported/w3c/web-platform-tests/web-animations/interfaces/KeyframeEffect/constructor-expected.txt
r233666 r233676 62 62 PASS A KeyframeEffectReadOnly can be constructed with a property-indexed keyframe with an array of easings 63 63 PASS A KeyframeEffectReadOnly constructed with a property-indexed keyframe with an array of easings roundtrips 64 FAIL A KeyframeEffectReadOnly can be constructed with a property-indexed keyframe with an array of easings that is too short assert_equals: value for 'easing' on ComputedKeyframe #2 expected "ease-in" but got "ease-out" 64 PASS A KeyframeEffectReadOnly can be constructed with a property-indexed keyframe with an array of easings that is too short 65 65 PASS A KeyframeEffectReadOnly constructed with a property-indexed keyframe with an array of easings that is too short roundtrips 66 66 PASS A KeyframeEffectReadOnly can be constructed with a property-indexed keyframe with a single-element array of easings … … 74 74 PASS A KeyframeEffectReadOnly can be constructed with a property-indexed keyframe with a composite array 75 75 PASS A KeyframeEffectReadOnly constructed with a property-indexed keyframe with a composite array roundtrips 76 FAIL A KeyframeEffectReadOnly can be constructed with a property-indexed keyframe with a composite array that is too short assert_equals: value for 'composite' on ComputedKeyframe #2 expected "add" but got "replace" 76 PASS A KeyframeEffectReadOnly can be constructed with a property-indexed keyframe with a composite array that is too short 77 77 PASS A KeyframeEffectReadOnly constructed with a property-indexed keyframe with a composite array that is too short roundtrips 78 78 PASS A KeyframeEffectReadOnly can be constructed with a property-indexed keyframe with a composite array that is too long -
trunk/LayoutTests/imported/w3c/web-platform-tests/web-animations/interfaces/KeyframeEffect/setKeyframes-expected.txt
r233666 r233676 29 29 PASS Keyframes can be replaced with a property-indexed keyframe with a single easing 30 30 PASS Keyframes can be replaced with a property-indexed keyframe with an array of easings 31 FAIL Keyframes can be replaced with a property-indexed keyframe with an array of easings that is too short assert_equals: value for 'easing' on ComputedKeyframe #2 expected "ease-in" but got "ease-out" 31 PASS Keyframes can be replaced with a property-indexed keyframe with an array of easings that is too short 32 32 PASS Keyframes can be replaced with a property-indexed keyframe with a single-element array of easings 33 33 PASS Keyframes can be replaced with a property-indexed keyframe with an empty array of easings … … 35 35 PASS Keyframes can be replaced with a property-indexed keyframe with a single composite operation 36 36 PASS Keyframes can be replaced with a property-indexed keyframe with a composite array 37 FAIL Keyframes can be replaced with a property-indexed keyframe with a composite array that is too short assert_equals: value for 'composite' on ComputedKeyframe #2 expected "add" but got "replace" 37 PASS Keyframes can be replaced with a property-indexed keyframe with a composite array that is too short 38 38 PASS Keyframes can be replaced with a property-indexed keyframe with a composite array that is too long 39 39 PASS Keyframes can be replaced with a property-indexed keyframe with a single-element composite array -
trunk/Source/WebCore/ChangeLog
r233672 r233676 1 2018-07-09 Antoine Quint <graouts@apple.com> 2 3 [Web Animations] Correct handle repetition of composite and easing values 4 https://bugs.webkit.org/show_bug.cgi?id=187498 5 <rdar://problem/41999183> 6 7 Reviewed by Dean Jackson. 8 9 If there are fewer values for "easing" and "composite" than there are keyframes, we are supposed to 10 fill in missing values by repeating the pattern of specified values. We were starting our iteration 11 to fill those missing values on the second missing value rather than the first missing value. 12 13 * animation/KeyframeEffectReadOnly.cpp: 14 (WebCore::processPropertyIndexedKeyframes): 15 1 16 2018-07-09 Youenn Fablet <youenn@apple.com> 2 17 -
trunk/Source/WebCore/animation/KeyframeEffectReadOnly.cpp
r233666 r233676 390 390 if (easings.size() < parsedKeyframes.size()) { 391 391 size_t initialNumberOfEasings = easings.size(); 392 for (i = initialNumberOfEasings + 1; i <=parsedKeyframes.size(); ++i)392 for (i = initialNumberOfEasings; i < parsedKeyframes.size(); ++i) 393 393 easings.append(easings[i % initialNumberOfEasings]); 394 394 } … … 418 418 if (compositeModes.size() < parsedKeyframes.size()) { 419 419 size_t initialNumberOfCompositeModes = compositeModes.size(); 420 for (i = initialNumberOfCompositeModes + 1; i <=parsedKeyframes.size(); ++i)420 for (i = initialNumberOfCompositeModes; i < parsedKeyframes.size(); ++i) 421 421 compositeModes.append(compositeModes[i % initialNumberOfCompositeModes]); 422 422 }
Note: See TracChangeset
for help on using the changeset viewer.