Changeset 276643 in webkit
- Timestamp:
- Apr 27, 2021 9:40:45 AM (15 months ago)
- Location:
- trunk
- Files:
-
- 4 edited
-
LayoutTests/imported/w3c/ChangeLog (modified) (1 diff)
-
LayoutTests/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/interpolation-per-property-002-expected.txt (modified) (1 diff)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/animation/CSSPropertyAnimation.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/imported/w3c/ChangeLog
r276639 r276643 1 2021-04-27 Antoine Quint <graouts@webkit.org> 2 3 Correctly interpolate stroke-dasharray in the discrete case 4 https://bugs.webkit.org/show_bug.cgi?id=225105 5 6 Reviewed by Antti Koivisto. 7 8 Mark 3 WPT progressions. 9 10 * web-platform-tests/web-animations/animation-model/animation-types/interpolation-per-property-002-expected.txt: 11 1 12 2021-04-27 Antoine Quint <graouts@webkit.org> 2 13 -
trunk/LayoutTests/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/interpolation-per-property-002-expected.txt
r276639 r276643 132 132 PASS stroke-dasharray supports animating as a dasharray (mixed lengths and percentages) 133 133 PASS stroke-dasharray (type: discrete) has testInterpolation function 134 FAIL stroke-dasharray uses discrete animation when animating between "none" and "10px, 20px" with linear easing assert_equals: The value should be none at 499ms expected "none" but got "10px, 20px" 135 FAIL stroke-dasharray uses discrete animation when animating between "none" and "10px, 20px" with effect easing assert_equals: The value should be none at 940ms expected "none" but got "10px, 20px" 136 FAIL stroke-dasharray uses discrete animation when animating between "none" and "10px, 20px" with keyframe easing assert_equals: The value should be none at 940ms expected "none" but got "10px, 20px" 134 PASS stroke-dasharray uses discrete animation when animating between "none" and "10px, 20px" with linear easing 135 PASS stroke-dasharray uses discrete animation when animating between "none" and "10px, 20px" with effect easing 136 PASS stroke-dasharray uses discrete animation when animating between "none" and "10px, 20px" with keyframe easing 137 137 PASS stroke-miterlimit (type: positiveNumber) has testInterpolation function 138 138 FAIL stroke-miterlimit supports animating as a positive number assert_equals: The value should be 1.3 at 500ms expected "1.3" but got "1.2999999523162842" -
trunk/Source/WebCore/ChangeLog
r276639 r276643 1 2021-04-27 Antoine Quint <graouts@webkit.org> 2 3 Correctly interpolate stroke-dasharray in the discrete case 4 https://bugs.webkit.org/show_bug.cgi?id=225105 5 6 Reviewed by Antti Koivisto. 7 8 * animation/CSSPropertyAnimation.cpp: 9 (WebCore::blendFunc): 10 1 11 2021-04-27 Antoine Quint <graouts@webkit.org> 2 12 -
trunk/Source/WebCore/animation/CSSPropertyAnimation.cpp
r276639 r276643 425 425 size_t fromLength = from.size(); 426 426 size_t toLength = to.size(); 427 if (!fromLength) 428 return !context.progress ? from : to; 429 if (!toLength) 430 return context.progress == 1 ? from : to; 427 if (!fromLength || !toLength) 428 return context.progress < 0.5 ? from : to; 431 429 size_t resultLength = fromLength; 432 430 if (fromLength != toLength) {
Note: See TracChangeset
for help on using the changeset viewer.