Changeset 268718 in webkit
- Timestamp:
- Oct 20, 2020 2:19:23 AM (21 months ago)
- Location:
- trunk
- Files:
-
- 2 deleted
- 9 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/imported/w3c/ChangeLog (modified) (1 diff)
-
LayoutTests/imported/w3c/web-platform-tests/css/css-flexbox/animation/flex-shrink-interpolation-expected.txt (modified) (7 diffs)
-
LayoutTests/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/accumulation-per-property-001-expected.txt (modified) (1 diff)
-
LayoutTests/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/addition-per-property-001-expected.txt (modified) (1 diff)
-
LayoutTests/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/interpolation-per-property-001-expected.txt (modified) (1 diff)
-
LayoutTests/platform/gtk/imported/w3c/web-platform-tests/web-animations (deleted)
-
LayoutTests/platform/wpe/imported/w3c/web-platform-tests/web-animations (deleted)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/animation/CSSPropertyAnimation.cpp (modified) (1 diff)
-
Source/WebCore/rendering/style/RenderStyle.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r268716 r268718 1 2020-10-19 Sergio Villar Senin <svillar@igalia.com> 2 3 [css-flexbox] flex-shrink property should be animatable 4 https://bugs.webkit.org/show_bug.cgi?id=209874 5 6 Reviewed by Manuel Rego Casasnovas. 7 8 Removed GTK's and WPE's platform expectations for some web-animation tests as both ports could make use of the cross platform ones. 9 10 * platform/gtk/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/accumulation-per-property-expected.txt: Removed. 11 * platform/gtk/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/addition-per-property-expected.txt: Removed. 12 * platform/wpe/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/accumulation-per-property-expected.txt: Removed. 13 * platform/wpe/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/addition-per-property-expected.txt: Removed. 14 1 15 2020-10-20 Philippe Normand <pnormand@igalia.com> and Pavel Feldman <pavel.feldman@gmail.com> 2 16 -
trunk/LayoutTests/imported/w3c/ChangeLog
r268713 r268718 1 2020-10-19 Sergio Villar Senin <svillar@igalia.com> 2 3 [css-flexbox] flex-shrink property should be animatable 4 https://bugs.webkit.org/show_bug.cgi?id=209874 5 6 Reviewed by Manuel Rego Casasnovas. 7 8 Added new expectations. Replaced ~100 FAIL subtests with PASS expectations. 9 10 * web-platform-tests/css/css-flexbox/animation/flex-shrink-interpolation-expected.txt: 11 * web-platform-tests/web-animations/animation-model/animation-types/accumulation-per-property-001-expected.txt: 12 * web-platform-tests/web-animations/animation-model/animation-types/addition-per-property-001-expected.txt: 13 * web-platform-tests/web-animations/animation-model/animation-types/interpolation-per-property-001-expected.txt: 14 1 15 2020-10-19 Sihui Liu <sihui_liu@apple.com> 2 16 -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-flexbox/animation/flex-shrink-interpolation-expected.txt
r267650 r268718 1 1 2 FAIL CSS Transitions: property <flex-shrink> from neutral to [2] at (-0.3) should be [1.35] assert_equals: expected "1.35 " but got "2 " 3 FAIL CSS Transitions: property <flex-shrink> from neutral to [2] at (0) should be [1.5] assert_equals: expected "1.5 " but got "2 " 4 FAIL CSS Transitions: property <flex-shrink> from neutral to [2] at (0.3) should be [1.65] assert_equals: expected "1.65 " but got "2 " 5 FAIL CSS Transitions: property <flex-shrink> from neutral to [2] at (0.6) should be [1.8] assert_equals: expected "1.8 " but got "2 " 2 PASS CSS Transitions: property <flex-shrink> from neutral to [2] at (-0.3) should be [1.35] 3 PASS CSS Transitions: property <flex-shrink> from neutral to [2] at (0) should be [1.5] 4 PASS CSS Transitions: property <flex-shrink> from neutral to [2] at (0.3) should be [1.65] 5 PASS CSS Transitions: property <flex-shrink> from neutral to [2] at (0.6) should be [1.8] 6 6 PASS CSS Transitions: property <flex-shrink> from neutral to [2] at (1) should be [2] 7 FAIL CSS Transitions: property <flex-shrink> from neutral to [2] at (1.5) should be [2.25] assert_equals: expected "2.25 " but got "2 " 7 PASS CSS Transitions: property <flex-shrink> from neutral to [2] at (1.5) should be [2.25] 8 8 PASS CSS Transitions with transition: all: property <flex-shrink> from neutral to [2] at (-0.3) should be [1.35] 9 9 PASS CSS Transitions with transition: all: property <flex-shrink> from neutral to [2] at (0) should be [1.5] … … 12 12 PASS CSS Transitions with transition: all: property <flex-shrink> from neutral to [2] at (1) should be [2] 13 13 PASS CSS Transitions with transition: all: property <flex-shrink> from neutral to [2] at (1.5) should be [2.25] 14 FAIL CSS Animations: property <flex-shrink> from neutral to [2] at (-0.3) should be [1.35] assert_equals: expected "1.35 " but got "1.5 " 14 PASS CSS Animations: property <flex-shrink> from neutral to [2] at (-0.3) should be [1.35] 15 15 PASS CSS Animations: property <flex-shrink> from neutral to [2] at (0) should be [1.5] 16 FAIL CSS Animations: property <flex-shrink> from neutral to [2] at (0.3) should be [1.65] assert_equals: expected "1.65 " but got "1.5 " 17 FAIL CSS Animations: property <flex-shrink> from neutral to [2] at (0.6) should be [1.8] assert_equals: expected "1.8 " but got "1.5 " 18 FAIL CSS Animations: property <flex-shrink> from neutral to [2] at (1) should be [2] assert_equals: expected "2 " but got "1.5 " 19 FAIL CSS Animations: property <flex-shrink> from neutral to [2] at (1.5) should be [2.25] assert_equals: expected "2.25 " but got "1.5 " 20 FAIL Web Animations: property <flex-shrink> from neutral to [2] at (-0.3) should be [1.35] assert_equals: expected "1.35 " but got "1.5 " 21 PASS Web Animations: property <flex-shrink> from neutral to [2] at (0) should be [1.5] 22 FAIL Web Animations: property <flex-shrink> from neutral to [2] at (0.3) should be [1.65] assert_equals: expected "1.65 " but got "1.5 "23 FAIL Web Animations: property <flex-shrink> from neutral to [2] at (0.6) should be [1.8] assert_equals: expected "1.8 " but got "1. 5"24 FAIL Web Animations: property <flex-shrink> from neutral to [2] at (1) should be [2] assert_equals: expected "2 " but got "1.5 " 25 FAIL Web Animations: property <flex-shrink> from neutral to [2] at (1.5) should be [2.25] assert_equals: expected "2.25 " but got " 1.5"26 FAIL CSS Transitions: property <flex-shrink> from [initial] to [2] at (-0.3) should be [0.7] assert_equals: expected "0.7 " but got "2 " 27 FAIL CSS Transitions: property <flex-shrink> from [initial] to [2] at (0) should be [1] assert_equals: expected "1 " but got "2 " 28 FAIL CSS Transitions: property <flex-shrink> from [initial] to [2] at (0.3) should be [1.3] assert_equals: expected "1.3 " but got "2 " 29 FAIL CSS Transitions: property <flex-shrink> from [initial] to [2] at (0.6) should be [1.6] assert_equals: expected "1.6 " but got "2 " 16 PASS CSS Animations: property <flex-shrink> from neutral to [2] at (0.3) should be [1.65] 17 PASS CSS Animations: property <flex-shrink> from neutral to [2] at (0.6) should be [1.8] 18 PASS CSS Animations: property <flex-shrink> from neutral to [2] at (1) should be [2] 19 PASS CSS Animations: property <flex-shrink> from neutral to [2] at (1.5) should be [2.25] 20 PASS Web Animations: property <flex-shrink> from neutral to [2] at (-0.3) should be [1.35] 21 FAIL Web Animations: property <flex-shrink> from neutral to [2] at (0) should be [1.5] assert_equals: expected "1.5 " but got "1.35 " 22 FAIL Web Animations: property <flex-shrink> from neutral to [2] at (0.3) should be [1.65] assert_equals: expected "1.65 " but got "1.55 " 23 FAIL Web Animations: property <flex-shrink> from neutral to [2] at (0.6) should be [1.8] assert_equals: expected "1.8 " but got "1.82 " 24 PASS Web Animations: property <flex-shrink> from neutral to [2] at (1) should be [2] 25 FAIL Web Animations: property <flex-shrink> from neutral to [2] at (1.5) should be [2.25] assert_equals: expected "2.25 " but got "2 " 26 PASS CSS Transitions: property <flex-shrink> from [initial] to [2] at (-0.3) should be [0.7] 27 PASS CSS Transitions: property <flex-shrink> from [initial] to [2] at (0) should be [1] 28 PASS CSS Transitions: property <flex-shrink> from [initial] to [2] at (0.3) should be [1.3] 29 PASS CSS Transitions: property <flex-shrink> from [initial] to [2] at (0.6) should be [1.6] 30 30 PASS CSS Transitions: property <flex-shrink> from [initial] to [2] at (1) should be [2] 31 FAIL CSS Transitions: property <flex-shrink> from [initial] to [2] at (1.5) should be [2.5] assert_equals: expected "2.5 " but got "2 " 31 PASS CSS Transitions: property <flex-shrink> from [initial] to [2] at (1.5) should be [2.5] 32 32 PASS CSS Transitions with transition: all: property <flex-shrink> from [initial] to [2] at (-0.3) should be [0.7] 33 33 PASS CSS Transitions with transition: all: property <flex-shrink> from [initial] to [2] at (0) should be [1] … … 36 36 PASS CSS Transitions with transition: all: property <flex-shrink> from [initial] to [2] at (1) should be [2] 37 37 PASS CSS Transitions with transition: all: property <flex-shrink> from [initial] to [2] at (1.5) should be [2.5] 38 FAIL CSS Animations: property <flex-shrink> from [initial] to [2] at (-0.3) should be [0.7] assert_equals: expected "0.7 " but got "1.5 " 39 FAIL CSS Animations: property <flex-shrink> from [initial] to [2] at (0) should be [1] assert_equals: expected "1 " but got "1.5 " 40 FAIL CSS Animations: property <flex-shrink> from [initial] to [2] at (0.3) should be [1.3] assert_equals: expected "1.3 " but got "1.5 " 41 FAIL CSS Animations: property <flex-shrink> from [initial] to [2] at (0.6) should be [1.6] assert_equals: expected "1.6 " but got "1.5 " 42 FAIL CSS Animations: property <flex-shrink> from [initial] to [2] at (1) should be [2] assert_equals: expected "2 " but got "1.5 " 43 FAIL CSS Animations: property <flex-shrink> from [initial] to [2] at (1.5) should be [2.5] assert_equals: expected "2.5 " but got "1.5 " 44 FAIL Web Animations: property <flex-shrink> from [initial] to [2] at (-0.3) should be [0.7] assert_equals: expected "0.7 " but got "1.5 " 45 FAIL Web Animations: property <flex-shrink> from [initial] to [2] at (0) should be [1] assert_equals: expected "1 " but got "1.5 " 46 FAIL Web Animations: property <flex-shrink> from [initial] to [2] at (0.3) should be [1.3] assert_equals: expected "1.3 " but got "1.5 " 47 FAIL Web Animations: property <flex-shrink> from [initial] to [2] at (0.6) should be [1.6] assert_equals: expected "1.6 " but got "1.5 " 48 FAIL Web Animations: property <flex-shrink> from [initial] to [2] at (1) should be [2] assert_equals: expected "2 " but got "1.5 " 49 FAIL Web Animations: property <flex-shrink> from [initial] to [2] at (1.5) should be [2.5] assert_equals: expected "2.5 " but got "1.5 " 50 FAIL CSS Transitions: property <flex-shrink> from [inherit] to [2] at (-0.3) should be [3.3] assert_equals: expected "3.3 " but got "2 " 51 FAIL CSS Transitions: property <flex-shrink> from [inherit] to [2] at (0) should be [3] assert_equals: expected "3 " but got "2 " 52 FAIL CSS Transitions: property <flex-shrink> from [inherit] to [2] at (0.3) should be [2.7] assert_equals: expected "2.7 " but got "2 " 53 FAIL CSS Transitions: property <flex-shrink> from [inherit] to [2] at (0.6) should be [2.4] assert_equals: expected "2.4 " but got "2 " 38 PASS CSS Animations: property <flex-shrink> from [initial] to [2] at (-0.3) should be [0.7] 39 PASS CSS Animations: property <flex-shrink> from [initial] to [2] at (0) should be [1] 40 PASS CSS Animations: property <flex-shrink> from [initial] to [2] at (0.3) should be [1.3] 41 PASS CSS Animations: property <flex-shrink> from [initial] to [2] at (0.6) should be [1.6] 42 PASS CSS Animations: property <flex-shrink> from [initial] to [2] at (1) should be [2] 43 PASS CSS Animations: property <flex-shrink> from [initial] to [2] at (1.5) should be [2.5] 44 PASS Web Animations: property <flex-shrink> from [initial] to [2] at (-0.3) should be [0.7] 45 PASS Web Animations: property <flex-shrink> from [initial] to [2] at (0) should be [1] 46 PASS Web Animations: property <flex-shrink> from [initial] to [2] at (0.3) should be [1.3] 47 PASS Web Animations: property <flex-shrink> from [initial] to [2] at (0.6) should be [1.6] 48 PASS Web Animations: property <flex-shrink> from [initial] to [2] at (1) should be [2] 49 PASS Web Animations: property <flex-shrink> from [initial] to [2] at (1.5) should be [2.5] 50 PASS CSS Transitions: property <flex-shrink> from [inherit] to [2] at (-0.3) should be [3.3] 51 PASS CSS Transitions: property <flex-shrink> from [inherit] to [2] at (0) should be [3] 52 PASS CSS Transitions: property <flex-shrink> from [inherit] to [2] at (0.3) should be [2.7] 53 PASS CSS Transitions: property <flex-shrink> from [inherit] to [2] at (0.6) should be [2.4] 54 54 PASS CSS Transitions: property <flex-shrink> from [inherit] to [2] at (1) should be [2] 55 FAIL CSS Transitions: property <flex-shrink> from [inherit] to [2] at (1.5) should be [1.5] assert_equals: expected "1.5 " but got "2 " 55 PASS CSS Transitions: property <flex-shrink> from [inherit] to [2] at (1.5) should be [1.5] 56 56 PASS CSS Transitions with transition: all: property <flex-shrink> from [inherit] to [2] at (-0.3) should be [3.3] 57 57 PASS CSS Transitions with transition: all: property <flex-shrink> from [inherit] to [2] at (0) should be [3] … … 60 60 PASS CSS Transitions with transition: all: property <flex-shrink> from [inherit] to [2] at (1) should be [2] 61 61 PASS CSS Transitions with transition: all: property <flex-shrink> from [inherit] to [2] at (1.5) should be [1.5] 62 FAIL CSS Animations: property <flex-shrink> from [inherit] to [2] at (-0.3) should be [3.3] assert_equals: expected "3.3 " but got "1.5 " 63 FAIL CSS Animations: property <flex-shrink> from [inherit] to [2] at (0) should be [3] assert_equals: expected "3 " but got "1.5 " 64 FAIL CSS Animations: property <flex-shrink> from [inherit] to [2] at (0.3) should be [2.7] assert_equals: expected "2.7 " but got "1.5 " 65 FAIL CSS Animations: property <flex-shrink> from [inherit] to [2] at (0.6) should be [2.4] assert_equals: expected "2.4 " but got "1.5 " 66 FAIL CSS Animations: property <flex-shrink> from [inherit] to [2] at (1) should be [2] assert_equals: expected "2 " but got "1.5 " 62 PASS CSS Animations: property <flex-shrink> from [inherit] to [2] at (-0.3) should be [3.3] 63 PASS CSS Animations: property <flex-shrink> from [inherit] to [2] at (0) should be [3] 64 PASS CSS Animations: property <flex-shrink> from [inherit] to [2] at (0.3) should be [2.7] 65 PASS CSS Animations: property <flex-shrink> from [inherit] to [2] at (0.6) should be [2.4] 66 PASS CSS Animations: property <flex-shrink> from [inherit] to [2] at (1) should be [2] 67 67 PASS CSS Animations: property <flex-shrink> from [inherit] to [2] at (1.5) should be [1.5] 68 FAIL Web Animations: property <flex-shrink> from [inherit] to [2] at (-0.3) should be [3.3] assert_equals: expected "3.3 " but got "1. 5 "69 FAIL Web Animations: property <flex-shrink> from [inherit] to [2] at (0) should be [3] assert_equals: expected "3 " but got "1. 5 "70 FAIL Web Animations: property <flex-shrink> from [inherit] to [2] at (0.3) should be [2.7] assert_equals: expected "2.7 " but got "1.5 "71 FAIL Web Animations: property <flex-shrink> from [inherit] to [2] at (0.6) should be [2.4] assert_equals: expected "2.4 " but got "1. 5"72 FAIL Web Animations: property <flex-shrink> from [inherit] to [2] at (1) should be [2] assert_equals: expected "2 " but got "1.5 " 73 PASS Web Animations: property <flex-shrink> from [inherit] to [2] at (1.5) should be [1.5] 74 FAIL CSS Transitions: property <flex-shrink> from [unset] to [2] at (-0.3) should be [0.7] assert_equals: expected "0.7 " but got "2 " 75 FAIL CSS Transitions: property <flex-shrink> from [unset] to [2] at (0) should be [1] assert_equals: expected "1 " but got "2 " 76 FAIL CSS Transitions: property <flex-shrink> from [unset] to [2] at (0.3) should be [1.3] assert_equals: expected "1.3 " but got "2 " 77 FAIL CSS Transitions: property <flex-shrink> from [unset] to [2] at (0.6) should be [1.6] assert_equals: expected "1.6 " but got "2 " 68 FAIL Web Animations: property <flex-shrink> from [inherit] to [2] at (-0.3) should be [3.3] assert_equals: expected "3.3 " but got "1.35 " 69 FAIL Web Animations: property <flex-shrink> from [inherit] to [2] at (0) should be [3] assert_equals: expected "3 " but got "1.35 " 70 FAIL Web Animations: property <flex-shrink> from [inherit] to [2] at (0.3) should be [2.7] assert_equals: expected "2.7 " but got "1.55 " 71 FAIL Web Animations: property <flex-shrink> from [inherit] to [2] at (0.6) should be [2.4] assert_equals: expected "2.4 " but got "1.82 " 72 PASS Web Animations: property <flex-shrink> from [inherit] to [2] at (1) should be [2] 73 FAIL Web Animations: property <flex-shrink> from [inherit] to [2] at (1.5) should be [1.5] assert_equals: expected "1.5 " but got "2 " 74 PASS CSS Transitions: property <flex-shrink> from [unset] to [2] at (-0.3) should be [0.7] 75 PASS CSS Transitions: property <flex-shrink> from [unset] to [2] at (0) should be [1] 76 PASS CSS Transitions: property <flex-shrink> from [unset] to [2] at (0.3) should be [1.3] 77 PASS CSS Transitions: property <flex-shrink> from [unset] to [2] at (0.6) should be [1.6] 78 78 PASS CSS Transitions: property <flex-shrink> from [unset] to [2] at (1) should be [2] 79 FAIL CSS Transitions: property <flex-shrink> from [unset] to [2] at (1.5) should be [2.5] assert_equals: expected "2.5 " but got "2 " 79 PASS CSS Transitions: property <flex-shrink> from [unset] to [2] at (1.5) should be [2.5] 80 80 PASS CSS Transitions with transition: all: property <flex-shrink> from [unset] to [2] at (-0.3) should be [0.7] 81 81 PASS CSS Transitions with transition: all: property <flex-shrink> from [unset] to [2] at (0) should be [1] … … 84 84 PASS CSS Transitions with transition: all: property <flex-shrink> from [unset] to [2] at (1) should be [2] 85 85 PASS CSS Transitions with transition: all: property <flex-shrink> from [unset] to [2] at (1.5) should be [2.5] 86 FAIL CSS Animations: property <flex-shrink> from [unset] to [2] at (-0.3) should be [0.7] assert_equals: expected "0.7 " but got "1.5 " 87 FAIL CSS Animations: property <flex-shrink> from [unset] to [2] at (0) should be [1] assert_equals: expected "1 " but got "1.5 " 88 FAIL CSS Animations: property <flex-shrink> from [unset] to [2] at (0.3) should be [1.3] assert_equals: expected "1.3 " but got "1.5 " 89 FAIL CSS Animations: property <flex-shrink> from [unset] to [2] at (0.6) should be [1.6] assert_equals: expected "1.6 " but got "1.5 " 90 FAIL CSS Animations: property <flex-shrink> from [unset] to [2] at (1) should be [2] assert_equals: expected "2 " but got "1.5 " 91 FAIL CSS Animations: property <flex-shrink> from [unset] to [2] at (1.5) should be [2.5] assert_equals: expected "2.5 " but got "1.5 " 92 FAIL Web Animations: property <flex-shrink> from [unset] to [2] at (-0.3) should be [0.7] assert_equals: expected "0.7 " but got "1.5 " 93 FAIL Web Animations: property <flex-shrink> from [unset] to [2] at (0) should be [1] assert_equals: expected "1 " but got "1.5 " 94 FAIL Web Animations: property <flex-shrink> from [unset] to [2] at (0.3) should be [1.3] assert_equals: expected "1.3 " but got "1.5 " 95 FAIL Web Animations: property <flex-shrink> from [unset] to [2] at (0.6) should be [1.6] assert_equals: expected "1.6 " but got "1.5 " 96 FAIL Web Animations: property <flex-shrink> from [unset] to [2] at (1) should be [2] assert_equals: expected "2 " but got "1.5 " 97 FAIL Web Animations: property <flex-shrink> from [unset] to [2] at (1.5) should be [2.5] assert_equals: expected "2.5 " but got "1.5 " 98 FAIL CSS Transitions: property <flex-shrink> from [1] to [2] at (-5) should be [0] assert_equals: expected "0 " but got "2 " 99 FAIL CSS Transitions: property <flex-shrink> from [1] to [2] at (-0.3) should be [0.7] assert_equals: expected "0.7 " but got "2 " 100 FAIL CSS Transitions: property <flex-shrink> from [1] to [2] at (0) should be [1] assert_equals: expected "1 " but got "2 " 101 FAIL CSS Transitions: property <flex-shrink> from [1] to [2] at (0.3) should be [1.3] assert_equals: expected "1.3 " but got "2 " 102 FAIL CSS Transitions: property <flex-shrink> from [1] to [2] at (0.6) should be [1.6] assert_equals: expected "1.6 " but got "2 " 86 PASS CSS Animations: property <flex-shrink> from [unset] to [2] at (-0.3) should be [0.7] 87 PASS CSS Animations: property <flex-shrink> from [unset] to [2] at (0) should be [1] 88 PASS CSS Animations: property <flex-shrink> from [unset] to [2] at (0.3) should be [1.3] 89 PASS CSS Animations: property <flex-shrink> from [unset] to [2] at (0.6) should be [1.6] 90 PASS CSS Animations: property <flex-shrink> from [unset] to [2] at (1) should be [2] 91 PASS CSS Animations: property <flex-shrink> from [unset] to [2] at (1.5) should be [2.5] 92 PASS Web Animations: property <flex-shrink> from [unset] to [2] at (-0.3) should be [0.7] 93 PASS Web Animations: property <flex-shrink> from [unset] to [2] at (0) should be [1] 94 PASS Web Animations: property <flex-shrink> from [unset] to [2] at (0.3) should be [1.3] 95 PASS Web Animations: property <flex-shrink> from [unset] to [2] at (0.6) should be [1.6] 96 PASS Web Animations: property <flex-shrink> from [unset] to [2] at (1) should be [2] 97 PASS Web Animations: property <flex-shrink> from [unset] to [2] at (1.5) should be [2.5] 98 PASS CSS Transitions: property <flex-shrink> from [1] to [2] at (-5) should be [0] 99 PASS CSS Transitions: property <flex-shrink> from [1] to [2] at (-0.3) should be [0.7] 100 PASS CSS Transitions: property <flex-shrink> from [1] to [2] at (0) should be [1] 101 PASS CSS Transitions: property <flex-shrink> from [1] to [2] at (0.3) should be [1.3] 102 PASS CSS Transitions: property <flex-shrink> from [1] to [2] at (0.6) should be [1.6] 103 103 PASS CSS Transitions: property <flex-shrink> from [1] to [2] at (1) should be [2] 104 FAIL CSS Transitions: property <flex-shrink> from [1] to [2] at (1.5) should be [2.5] assert_equals: expected "2.5 " but got "2 " 105 FAIL CSS Transitions with transition: all: property <flex-shrink> from [1] to [2] at (-5) should be [0] assert_equals: expected "0 " but got "- 4 " 104 PASS CSS Transitions: property <flex-shrink> from [1] to [2] at (1.5) should be [2.5] 105 PASS CSS Transitions with transition: all: property <flex-shrink> from [1] to [2] at (-5) should be [0] 106 106 PASS CSS Transitions with transition: all: property <flex-shrink> from [1] to [2] at (-0.3) should be [0.7] 107 107 PASS CSS Transitions with transition: all: property <flex-shrink> from [1] to [2] at (0) should be [1] … … 110 110 PASS CSS Transitions with transition: all: property <flex-shrink> from [1] to [2] at (1) should be [2] 111 111 PASS CSS Transitions with transition: all: property <flex-shrink> from [1] to [2] at (1.5) should be [2.5] 112 FAIL CSS Animations: property <flex-shrink> from [1] to [2] at (-5) should be [0] assert_equals: expected "0 " but got "1.5 " 113 FAIL CSS Animations: property <flex-shrink> from [1] to [2] at (-0.3) should be [0.7] assert_equals: expected "0.7 " but got "1.5 " 114 FAIL CSS Animations: property <flex-shrink> from [1] to [2] at (0) should be [1] assert_equals: expected "1 " but got "1.5 " 115 FAIL CSS Animations: property <flex-shrink> from [1] to [2] at (0.3) should be [1.3] assert_equals: expected "1.3 " but got "1.5 " 116 FAIL CSS Animations: property <flex-shrink> from [1] to [2] at (0.6) should be [1.6] assert_equals: expected "1.6 " but got "1.5 " 117 FAIL CSS Animations: property <flex-shrink> from [1] to [2] at (1) should be [2] assert_equals: expected "2 " but got "1.5 " 118 FAIL CSS Animations: property <flex-shrink> from [1] to [2] at (1.5) should be [2.5] assert_equals: expected "2.5 " but got "1.5 " 119 FAIL Web Animations: property <flex-shrink> from [1] to [2] at (-5) should be [0] assert_equals: expected "0 " but got "1.5 " 120 FAIL Web Animations: property <flex-shrink> from [1] to [2] at (-0.3) should be [0.7] assert_equals: expected "0.7 " but got "1.5 " 121 FAIL Web Animations: property <flex-shrink> from [1] to [2] at (0) should be [1] assert_equals: expected "1 " but got "1.5 " 122 FAIL Web Animations: property <flex-shrink> from [1] to [2] at (0.3) should be [1.3] assert_equals: expected "1.3 " but got "1.5 " 123 FAIL Web Animations: property <flex-shrink> from [1] to [2] at (0.6) should be [1.6] assert_equals: expected "1.6 " but got "1.5 " 124 FAIL Web Animations: property <flex-shrink> from [1] to [2] at (1) should be [2] assert_equals: expected "2 " but got "1.5 " 125 FAIL Web Animations: property <flex-shrink> from [1] to [2] at (1.5) should be [2.5] assert_equals: expected "2.5 " but got "1.5 " 126 FAIL CSS Transitions: property <flex-shrink> from [0] to [1] at (-5) should be [0] assert_equals: expected "0 " but got "1 " 127 FAIL CSS Transitions: property <flex-shrink> from [0] to [1] at (-0.3) should be [0] assert_equals: expected "0 " but got "1 " 128 FAIL CSS Transitions: property <flex-shrink> from [0] to [1] at (0) should be [0] assert_equals: expected "0 " but got "1 " 129 FAIL CSS Transitions: property <flex-shrink> from [0] to [1] at (0.3) should be [0.3] assert_equals: expected "0.3 " but got "1 " 130 FAIL CSS Transitions: property <flex-shrink> from [0] to [1] at (0.6) should be [0.6] assert_equals: expected "0.6 " but got "1 " 112 PASS CSS Animations: property <flex-shrink> from [1] to [2] at (-5) should be [0] 113 PASS CSS Animations: property <flex-shrink> from [1] to [2] at (-0.3) should be [0.7] 114 PASS CSS Animations: property <flex-shrink> from [1] to [2] at (0) should be [1] 115 PASS CSS Animations: property <flex-shrink> from [1] to [2] at (0.3) should be [1.3] 116 PASS CSS Animations: property <flex-shrink> from [1] to [2] at (0.6) should be [1.6] 117 PASS CSS Animations: property <flex-shrink> from [1] to [2] at (1) should be [2] 118 PASS CSS Animations: property <flex-shrink> from [1] to [2] at (1.5) should be [2.5] 119 PASS Web Animations: property <flex-shrink> from [1] to [2] at (-5) should be [0] 120 PASS Web Animations: property <flex-shrink> from [1] to [2] at (-0.3) should be [0.7] 121 PASS Web Animations: property <flex-shrink> from [1] to [2] at (0) should be [1] 122 PASS Web Animations: property <flex-shrink> from [1] to [2] at (0.3) should be [1.3] 123 PASS Web Animations: property <flex-shrink> from [1] to [2] at (0.6) should be [1.6] 124 PASS Web Animations: property <flex-shrink> from [1] to [2] at (1) should be [2] 125 PASS Web Animations: property <flex-shrink> from [1] to [2] at (1.5) should be [2.5] 126 PASS CSS Transitions: property <flex-shrink> from [0] to [1] at (-5) should be [0] 127 PASS CSS Transitions: property <flex-shrink> from [0] to [1] at (-0.3) should be [0] 128 PASS CSS Transitions: property <flex-shrink> from [0] to [1] at (0) should be [0] 129 PASS CSS Transitions: property <flex-shrink> from [0] to [1] at (0.3) should be [0.3] 130 PASS CSS Transitions: property <flex-shrink> from [0] to [1] at (0.6) should be [0.6] 131 131 PASS CSS Transitions: property <flex-shrink> from [0] to [1] at (1) should be [1] 132 FAIL CSS Transitions: property <flex-shrink> from [0] to [1] at (1.5) should be [1.5] assert_equals: expected "1.5 " but got "1 " 133 FAIL CSS Transitions with transition: all: property <flex-shrink> from [0] to [1] at (-5) should be [0] assert_equals: expected "0 " but got "- 5 " 134 FAIL CSS Transitions with transition: all: property <flex-shrink> from [0] to [1] at (-0.3) should be [0] assert_equals: expected "0 " but got "- 0.3 " 132 PASS CSS Transitions: property <flex-shrink> from [0] to [1] at (1.5) should be [1.5] 133 PASS CSS Transitions with transition: all: property <flex-shrink> from [0] to [1] at (-5) should be [0] 134 PASS CSS Transitions with transition: all: property <flex-shrink> from [0] to [1] at (-0.3) should be [0] 135 135 PASS CSS Transitions with transition: all: property <flex-shrink> from [0] to [1] at (0) should be [0] 136 136 PASS CSS Transitions with transition: all: property <flex-shrink> from [0] to [1] at (0.3) should be [0.3] … … 138 138 PASS CSS Transitions with transition: all: property <flex-shrink> from [0] to [1] at (1) should be [1] 139 139 PASS CSS Transitions with transition: all: property <flex-shrink> from [0] to [1] at (1.5) should be [1.5] 140 FAIL CSS Animations: property <flex-shrink> from [0] to [1] at (-5) should be [0] assert_equals: expected "0 " but got "1.5 " 141 FAIL CSS Animations: property <flex-shrink> from [0] to [1] at (-0.3) should be [0] assert_equals: expected "0 " but got "1.5 " 142 FAIL CSS Animations: property <flex-shrink> from [0] to [1] at (0) should be [0] assert_equals: expected "0 " but got "1.5 " 143 FAIL CSS Animations: property <flex-shrink> from [0] to [1] at (0.3) should be [0.3] assert_equals: expected "0.3 " but got "1.5 " 144 FAIL CSS Animations: property <flex-shrink> from [0] to [1] at (0.6) should be [0.6] assert_equals: expected "0.6 " but got "1.5 " 145 FAIL CSS Animations: property <flex-shrink> from [0] to [1] at (1) should be [1] assert_equals: expected "1 " but got "1.5 " 140 PASS CSS Animations: property <flex-shrink> from [0] to [1] at (-5) should be [0] 141 PASS CSS Animations: property <flex-shrink> from [0] to [1] at (-0.3) should be [0] 142 PASS CSS Animations: property <flex-shrink> from [0] to [1] at (0) should be [0] 143 PASS CSS Animations: property <flex-shrink> from [0] to [1] at (0.3) should be [0.3] 144 PASS CSS Animations: property <flex-shrink> from [0] to [1] at (0.6) should be [0.6] 145 PASS CSS Animations: property <flex-shrink> from [0] to [1] at (1) should be [1] 146 146 PASS CSS Animations: property <flex-shrink> from [0] to [1] at (1.5) should be [1.5] 147 FAIL Web Animations: property <flex-shrink> from [0] to [1] at (-5) should be [0] assert_equals: expected "0 " but got "1.5 " 148 FAIL Web Animations: property <flex-shrink> from [0] to [1] at (-0.3) should be [0] assert_equals: expected "0 " but got "1.5 " 149 FAIL Web Animations: property <flex-shrink> from [0] to [1] at (0) should be [0] assert_equals: expected "0 " but got "1.5 " 150 FAIL Web Animations: property <flex-shrink> from [0] to [1] at (0.3) should be [0.3] assert_equals: expected "0.3 " but got "1.5 " 151 FAIL Web Animations: property <flex-shrink> from [0] to [1] at (0.6) should be [0.6] assert_equals: expected "0.6 " but got "1.5 " 152 FAIL Web Animations: property <flex-shrink> from [0] to [1] at (1) should be [1] assert_equals: expected "1 " but got "1.5 " 147 PASS Web Animations: property <flex-shrink> from [0] to [1] at (-5) should be [0] 148 PASS Web Animations: property <flex-shrink> from [0] to [1] at (-0.3) should be [0] 149 PASS Web Animations: property <flex-shrink> from [0] to [1] at (0) should be [0] 150 PASS Web Animations: property <flex-shrink> from [0] to [1] at (0.3) should be [0.3] 151 PASS Web Animations: property <flex-shrink> from [0] to [1] at (0.6) should be [0.6] 152 PASS Web Animations: property <flex-shrink> from [0] to [1] at (1) should be [1] 153 153 PASS Web Animations: property <flex-shrink> from [0] to [1] at (1.5) should be [1.5] 154 154 -
trunk/LayoutTests/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/accumulation-per-property-001-expected.txt
r268516 r268718 115 115 PASS flex-grow (type: positiveNumber) has testAccumulation function 116 116 FAIL flex-grow: positive number assert_equals: The value should be 2.2 at 0ms expected "2.2" but got "1.100000023841858" 117 PASS flex-shrink (type: positiveNumber) has testAccumulation function 118 FAIL flex-shrink: positive number assert_equals: The value should be 2.2 at 0ms expected "2.2" but got "1.100000023841858" 117 119 PASS flood-color (type: color) has testAccumulation function 118 120 FAIL flood-color supports animating as color of rgb() with overflowed from and to values assert_equals: The value should be rgb(255, 128, 128) at 0ms expected "rgb(255, 128, 128)" but got "rgb(255, 0, 0)" -
trunk/LayoutTests/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/addition-per-property-001-expected.txt
r268516 r268718 115 115 PASS flex-grow (type: positiveNumber) has testAddition function 116 116 FAIL flex-grow: positive number assert_equals: The value should be 2.2 at 0ms expected "2.2" but got "1.100000023841858" 117 PASS flex-shrink (type: positiveNumber) has testAddition function 118 FAIL flex-shrink: positive number assert_equals: The value should be 2.2 at 0ms expected "2.2" but got "1.100000023841858" 117 119 PASS flood-color (type: color) has testAddition function 118 120 FAIL flood-color supports animating as color of rgb() with overflowed from and to values assert_equals: The value should be rgb(255, 128, 128) at 0ms expected "rgb(255, 128, 128)" but got "rgb(255, 0, 0)" -
trunk/LayoutTests/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/interpolation-per-property-001-expected.txt
r268516 r268718 136 136 PASS flex-grow (type: positiveNumber) has testInterpolation function 137 137 FAIL flex-grow supports animating as a positive number assert_equals: The value should be 1.3 at 500ms expected "1.3" but got "1.2999999523162842" 138 PASS flex-shrink (type: positiveNumber) has testInterpolation function 139 FAIL flex-shrink supports animating as a positive number assert_equals: The value should be 1.3 at 500ms expected "1.3" but got "1.2999999523162842" 138 140 PASS flood-color (type: color) has testInterpolation function 139 141 PASS flood-color supports animating as color of rgb() -
trunk/Source/WebCore/ChangeLog
r268716 r268718 1 2020-10-19 Sergio Villar Senin <svillar@igalia.com> 2 3 [css-flexbox] flex-shrink property should be animatable 4 https://bugs.webkit.org/show_bug.cgi?id=209874 5 6 Reviewed by Manuel Rego Casasnovas. 7 8 Make flew-shrink animatable as per spec. Also clamp its minimum value to 0 as it cannot be a negative number. 9 10 This allows us to pass a bunch of flexbox animation subtests. 11 12 * animation/CSSPropertyAnimation.cpp: 13 (WebCore::CSSPropertyAnimationWrapperMap::CSSPropertyAnimationWrapperMap): Mark flex-shrink as animatable. 14 * rendering/style/RenderStyle.h: 15 (WebCore::RenderStyle::setFlexShrink): Clamp minimum value to 0. 16 1 17 2020-10-20 Philippe Normand <pnormand@igalia.com> and Pavel Feldman <pavel.feldman@gmail.com> 2 18 -
trunk/Source/WebCore/animation/CSSPropertyAnimation.cpp
r268615 r268718 1872 1872 1873 1873 new PropertyWrapper<float>(CSSPropertyFlexGrow, &RenderStyle::flexGrow, &RenderStyle::setFlexGrow), 1874 new PropertyWrapper<float>(CSSPropertyFlexShrink, &RenderStyle::flexShrink, &RenderStyle::setFlexShrink), 1874 1875 }; 1875 1876 const unsigned animatableLonghandPropertiesCount = WTF_ARRAY_LENGTH(animatableLonghandPropertyWrappers); -
trunk/Source/WebCore/rendering/style/RenderStyle.h
r268516 r268718 1103 1103 void setBoxSizing(BoxSizing s) { SET_VAR(m_boxData, m_boxSizing, static_cast<unsigned>(s)); } 1104 1104 void setFlexGrow(float f) { float clampedGrow = std::max<float>(f, 0.f); SET_NESTED_VAR(m_rareNonInheritedData, flexibleBox, flexGrow, clampedGrow); } 1105 void setFlexShrink(float f) { SET_NESTED_VAR(m_rareNonInheritedData, flexibleBox, flexShrink, f); }1105 void setFlexShrink(float f) { float clampledShrink = std::max<float>(f, 0.f); SET_NESTED_VAR(m_rareNonInheritedData, flexibleBox, flexShrink, clampledShrink); } 1106 1106 void setFlexBasis(Length&& length) { SET_NESTED_VAR(m_rareNonInheritedData, flexibleBox, flexBasis, WTFMove(length)); } 1107 1107 void setOrder(int o) { SET_VAR(m_rareNonInheritedData, order, o); }
Note: See TracChangeset
for help on using the changeset viewer.