Changeset 287815 in webkit
- Timestamp:
- Jan 8, 2022, 3:40:38 PM (5 years ago)
- Location:
- trunk
- Files:
-
- 8 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/TestExpectations (modified) (2 diffs)
-
LayoutTests/imported/w3c/ChangeLog (modified) (1 diff)
-
LayoutTests/imported/w3c/web-platform-tests/css/filter-effects/animation/filter-interpolation-002-expected.txt (modified) (4 diffs)
-
LayoutTests/imported/w3c/web-platform-tests/css/filter-effects/animation/filter-interpolation-003-expected.txt (modified) (5 diffs)
-
LayoutTests/imported/w3c/web-platform-tests/css/filter-effects/animation/filter-interpolation-004-expected.txt (modified) (2 diffs)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/platform/graphics/filters/FilterOperation.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r287813 r287815 1 2022-01-08 Simon Fraser <simon.fraser@apple.com> 2 3 Fix some CSS filter interpolation issues 4 https://bugs.webkit.org/show_bug.cgi?id=235007 5 6 Reviewed by Antoine Quint. 7 8 imported/w3c/web-platform-tests/css/filter-effects/animation/filter-interpolation-004.html no longer asserts. 9 10 * TestExpectations: 11 1 12 2022-01-07 Simon Fraser <simon.fraser@apple.com> 2 13 -
trunk/LayoutTests/TestExpectations
r287813 r287815 5047 5047 # css/filter-effects 5048 5048 webkit.org/b/235000 [ Debug ] imported/w3c/web-platform-tests/css/filter-effects/animation/filter-interpolation-003.html [ Skip ] 5049 webkit.org/b/235000 [ Debug ] imported/w3c/web-platform-tests/css/filter-effects/animation/filter-interpolation-004.html [ Skip ]5050 5049 5051 5050 imported/w3c/web-platform-tests/css/filter-effects/backdrop-filter-basic-background-color.html [ ImageOnlyFailure ] … … 5078 5077 imported/w3c/web-platform-tests/css/filter-effects/css-filters-animation-contrast.html [ ImageOnlyFailure ] 5079 5078 imported/w3c/web-platform-tests/css/filter-effects/css-filters-animation-invert.html [ ImageOnlyFailure ] 5080 5081 5079 imported/w3c/web-platform-tests/css/filter-effects/drop-shadow-clipped-001.html [ ImageOnlyFailure ] 5082 5080 imported/w3c/web-platform-tests/css/filter-effects/effect-reference-after-001.html [ ImageOnlyFailure ] -
trunk/LayoutTests/imported/w3c/ChangeLog
r287813 r287815 1 2022-01-08 Simon Fraser <simon.fraser@apple.com> 2 3 Fix some CSS filter interpolation issues 4 https://bugs.webkit.org/show_bug.cgi?id=235007 5 6 Reviewed by Antoine Quint. 7 8 More passing now. 9 10 * web-platform-tests/css/filter-effects/animation/filter-interpolation-002-expected.txt: 11 * web-platform-tests/css/filter-effects/animation/filter-interpolation-003-expected.txt: 12 * web-platform-tests/css/filter-effects/animation/filter-interpolation-004-expected.txt: 13 1 14 2022-01-07 Simon Fraser <simon.fraser@apple.com> 2 15 -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/filter-effects/animation/filter-interpolation-002-expected.txt
r287813 r287815 1 1 2 FAIL CSS Transitions: property <filter> from [none] to [opacity(0.5) hue-rotate(180deg)] at (-0.5) should be [opacity(1) hue-rotate(-90deg)] assert_equals: expected "opacity ( 1 ) hue - rotate ( - 90deg ) " but got "opacity ( 1.25 ) hue - rotate ( - 90deg ) " 2 PASS CSS Transitions: property <filter> from [none] to [opacity(0.5) hue-rotate(180deg)] at (-0.5) should be [opacity(1) hue-rotate(-90deg)] 3 3 PASS CSS Transitions: property <filter> from [none] to [opacity(0.5) hue-rotate(180deg)] at (0) should be [opacity(1) hue-rotate(0deg)] 4 4 PASS CSS Transitions: property <filter> from [none] to [opacity(0.5) hue-rotate(180deg)] at (0.25) should be [opacity(0.875) hue-rotate(45deg)] … … 6 6 PASS CSS Transitions: property <filter> from [none] to [opacity(0.5) hue-rotate(180deg)] at (1) should be [opacity(0.5) hue-rotate(180deg)] 7 7 PASS CSS Transitions: property <filter> from [none] to [opacity(0.5) hue-rotate(180deg)] at (1.5) should be [opacity(0.25) hue-rotate(270deg)] 8 FAIL CSS Transitions with transition: all: property <filter> from [none] to [opacity(0.5) hue-rotate(180deg)] at (-0.5) should be [opacity(1) hue-rotate(-90deg)] assert_equals: expected "opacity ( 1 ) hue - rotate ( - 90deg ) " but got "opacity ( 1.25 ) hue - rotate ( - 90deg ) " 8 PASS CSS Transitions with transition: all: property <filter> from [none] to [opacity(0.5) hue-rotate(180deg)] at (-0.5) should be [opacity(1) hue-rotate(-90deg)] 9 9 PASS CSS Transitions with transition: all: property <filter> from [none] to [opacity(0.5) hue-rotate(180deg)] at (0) should be [opacity(1) hue-rotate(0deg)] 10 10 PASS CSS Transitions with transition: all: property <filter> from [none] to [opacity(0.5) hue-rotate(180deg)] at (0.25) should be [opacity(0.875) hue-rotate(45deg)] … … 12 12 PASS CSS Transitions with transition: all: property <filter> from [none] to [opacity(0.5) hue-rotate(180deg)] at (1) should be [opacity(0.5) hue-rotate(180deg)] 13 13 PASS CSS Transitions with transition: all: property <filter> from [none] to [opacity(0.5) hue-rotate(180deg)] at (1.5) should be [opacity(0.25) hue-rotate(270deg)] 14 FAIL CSS Animations: property <filter> from [none] to [opacity(0.5) hue-rotate(180deg)] at (-0.5) should be [opacity(1) hue-rotate(-90deg)] assert_equals: expected "opacity ( 1 ) hue - rotate ( - 90deg ) " but got "opacity ( 1.25 ) hue - rotate ( - 90deg ) " 14 PASS CSS Animations: property <filter> from [none] to [opacity(0.5) hue-rotate(180deg)] at (-0.5) should be [opacity(1) hue-rotate(-90deg)] 15 15 PASS CSS Animations: property <filter> from [none] to [opacity(0.5) hue-rotate(180deg)] at (0) should be [opacity(1) hue-rotate(0deg)] 16 16 PASS CSS Animations: property <filter> from [none] to [opacity(0.5) hue-rotate(180deg)] at (0.25) should be [opacity(0.875) hue-rotate(45deg)] … … 18 18 PASS CSS Animations: property <filter> from [none] to [opacity(0.5) hue-rotate(180deg)] at (1) should be [opacity(0.5) hue-rotate(180deg)] 19 19 PASS CSS Animations: property <filter> from [none] to [opacity(0.5) hue-rotate(180deg)] at (1.5) should be [opacity(0.25) hue-rotate(270deg)] 20 FAIL Web Animations: property <filter> from [none] to [opacity(0.5) hue-rotate(180deg)] at (-0.5) should be [opacity(1) hue-rotate(-90deg)] assert_equals: expected "opacity ( 1 ) hue - rotate ( - 90deg ) " but got "opacity ( 1.25 ) hue - rotate ( - 90deg ) " 20 PASS Web Animations: property <filter> from [none] to [opacity(0.5) hue-rotate(180deg)] at (-0.5) should be [opacity(1) hue-rotate(-90deg)] 21 21 PASS Web Animations: property <filter> from [none] to [opacity(0.5) hue-rotate(180deg)] at (0) should be [opacity(1) hue-rotate(0deg)] 22 22 PASS Web Animations: property <filter> from [none] to [opacity(0.5) hue-rotate(180deg)] at (0.25) should be [opacity(0.875) hue-rotate(45deg)] -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/filter-effects/animation/filter-interpolation-003-expected.txt
r287813 r287815 1 1 2 FAIL CSS Transitions: property <filter> from [none] to [blur(10px)] at (-1) should be [blur(0px)] assert_equals: expected "blur ( 0px ) " but got "blur ( - 10px ) " 2 PASS CSS Transitions: property <filter> from [none] to [blur(10px)] at (-1) should be [blur(0px)] 3 3 PASS CSS Transitions: property <filter> from [none] to [blur(10px)] at (0) should be [blur(0px)] 4 4 PASS CSS Transitions: property <filter> from [none] to [blur(10px)] at (0.5) should be [blur(5px)] 5 5 PASS CSS Transitions: property <filter> from [none] to [blur(10px)] at (1) should be [blur(10px)] 6 6 PASS CSS Transitions: property <filter> from [none] to [blur(10px)] at (1.5) should be [blur(15px)] 7 FAIL CSS Transitions with transition: all: property <filter> from [none] to [blur(10px)] at (-1) should be [blur(0px)] assert_equals: expected "blur ( 0px ) " but got "blur ( - 10px ) " 7 PASS CSS Transitions with transition: all: property <filter> from [none] to [blur(10px)] at (-1) should be [blur(0px)] 8 8 PASS CSS Transitions with transition: all: property <filter> from [none] to [blur(10px)] at (0) should be [blur(0px)] 9 9 PASS CSS Transitions with transition: all: property <filter> from [none] to [blur(10px)] at (0.5) should be [blur(5px)] 10 10 PASS CSS Transitions with transition: all: property <filter> from [none] to [blur(10px)] at (1) should be [blur(10px)] 11 11 PASS CSS Transitions with transition: all: property <filter> from [none] to [blur(10px)] at (1.5) should be [blur(15px)] 12 FAIL CSS Animations: property <filter> from [none] to [blur(10px)] at (-1) should be [blur(0px)] assert_equals: expected "blur ( 0px ) " but got "blur ( - 10px ) " 12 PASS CSS Animations: property <filter> from [none] to [blur(10px)] at (-1) should be [blur(0px)] 13 13 PASS CSS Animations: property <filter> from [none] to [blur(10px)] at (0) should be [blur(0px)] 14 14 PASS CSS Animations: property <filter> from [none] to [blur(10px)] at (0.5) should be [blur(5px)] 15 15 PASS CSS Animations: property <filter> from [none] to [blur(10px)] at (1) should be [blur(10px)] 16 16 PASS CSS Animations: property <filter> from [none] to [blur(10px)] at (1.5) should be [blur(15px)] 17 FAIL Web Animations: property <filter> from [none] to [blur(10px)] at (-1) should be [blur(0px)] assert_equals: expected "blur ( 0px ) " but got "blur ( - 10px ) " 17 PASS Web Animations: property <filter> from [none] to [blur(10px)] at (-1) should be [blur(0px)] 18 18 PASS Web Animations: property <filter> from [none] to [blur(10px)] at (0) should be [blur(0px)] 19 19 PASS Web Animations: property <filter> from [none] to [blur(10px)] at (0.5) should be [blur(5px)] … … 80 80 PASS Web Animations: property <filter> from [none] to [drop-shadow(20px 10px green)] at (1) should be [drop-shadow(20px 10px green)] 81 81 PASS Web Animations: property <filter> from [none] to [drop-shadow(20px 10px green)] at (1.5) should be [drop-shadow(30px 15px #00C000)] 82 FAIL CSS Transitions: property <filter> from [none] to [grayscale(1)] at (-1) should be [grayscale(0)] assert_equals: expected "grayscale ( 0 ) " but got "grayscale ( - 1 ) " 82 PASS CSS Transitions: property <filter> from [none] to [grayscale(1)] at (-1) should be [grayscale(0)] 83 83 PASS CSS Transitions: property <filter> from [none] to [grayscale(1)] at (0) should be [grayscale(0)] 84 84 PASS CSS Transitions: property <filter> from [none] to [grayscale(1)] at (0.5) should be [grayscale(0.5)] 85 85 PASS CSS Transitions: property <filter> from [none] to [grayscale(1)] at (1) should be [grayscale(1)] 86 FAIL CSS Transitions: property <filter> from [none] to [grayscale(1)] at (1.5) should be [grayscale(1)] assert_equals: expected "grayscale ( 1 ) " but got "grayscale ( 1.5 ) " 87 FAIL CSS Transitions with transition: all: property <filter> from [none] to [grayscale(1)] at (-1) should be [grayscale(0)] assert_equals: expected "grayscale ( 0 ) " but got "grayscale ( - 1 ) " 86 PASS CSS Transitions: property <filter> from [none] to [grayscale(1)] at (1.5) should be [grayscale(1)] 87 PASS CSS Transitions with transition: all: property <filter> from [none] to [grayscale(1)] at (-1) should be [grayscale(0)] 88 88 PASS CSS Transitions with transition: all: property <filter> from [none] to [grayscale(1)] at (0) should be [grayscale(0)] 89 89 PASS CSS Transitions with transition: all: property <filter> from [none] to [grayscale(1)] at (0.5) should be [grayscale(0.5)] 90 90 PASS CSS Transitions with transition: all: property <filter> from [none] to [grayscale(1)] at (1) should be [grayscale(1)] 91 FAIL CSS Transitions with transition: all: property <filter> from [none] to [grayscale(1)] at (1.5) should be [grayscale(1)] assert_equals: expected "grayscale ( 1 ) " but got "grayscale ( 1.5 ) " 92 FAIL CSS Animations: property <filter> from [none] to [grayscale(1)] at (-1) should be [grayscale(0)] assert_equals: expected "grayscale ( 0 ) " but got "grayscale ( - 1 ) " 91 PASS CSS Transitions with transition: all: property <filter> from [none] to [grayscale(1)] at (1.5) should be [grayscale(1)] 92 PASS CSS Animations: property <filter> from [none] to [grayscale(1)] at (-1) should be [grayscale(0)] 93 93 PASS CSS Animations: property <filter> from [none] to [grayscale(1)] at (0) should be [grayscale(0)] 94 94 PASS CSS Animations: property <filter> from [none] to [grayscale(1)] at (0.5) should be [grayscale(0.5)] 95 95 PASS CSS Animations: property <filter> from [none] to [grayscale(1)] at (1) should be [grayscale(1)] 96 FAIL CSS Animations: property <filter> from [none] to [grayscale(1)] at (1.5) should be [grayscale(1)] assert_equals: expected "grayscale ( 1 ) " but got "grayscale ( 1.5 ) " 97 FAIL Web Animations: property <filter> from [none] to [grayscale(1)] at (-1) should be [grayscale(0)] assert_equals: expected "grayscale ( 0 ) " but got "grayscale ( - 1 ) " 96 PASS CSS Animations: property <filter> from [none] to [grayscale(1)] at (1.5) should be [grayscale(1)] 97 PASS Web Animations: property <filter> from [none] to [grayscale(1)] at (-1) should be [grayscale(0)] 98 98 PASS Web Animations: property <filter> from [none] to [grayscale(1)] at (0) should be [grayscale(0)] 99 99 PASS Web Animations: property <filter> from [none] to [grayscale(1)] at (0.5) should be [grayscale(0.5)] 100 100 PASS Web Animations: property <filter> from [none] to [grayscale(1)] at (1) should be [grayscale(1)] 101 FAIL Web Animations: property <filter> from [none] to [grayscale(1)] at (1.5) should be [grayscale(1)] assert_equals: expected "grayscale ( 1 ) " but got "grayscale ( 1.5 ) " 101 PASS Web Animations: property <filter> from [none] to [grayscale(1)] at (1.5) should be [grayscale(1)] 102 102 PASS CSS Transitions: property <filter> from [none] to [hue-rotate(360deg)] at (-1) should be [hue-rotate(-360deg)] 103 103 PASS CSS Transitions: property <filter> from [none] to [hue-rotate(360deg)] at (0) should be [hue-rotate(0deg)] … … 120 120 PASS Web Animations: property <filter> from [none] to [hue-rotate(360deg)] at (1) should be [hue-rotate(360deg)] 121 121 PASS Web Animations: property <filter> from [none] to [hue-rotate(360deg)] at (1.5) should be [hue-rotate(540deg)] 122 FAIL CSS Transitions: property <filter> from [none] to [invert(1)] at (-1) should be [invert(0)] assert_equals: expected "invert ( 0 ) " but got "invert ( - 1 ) " 122 PASS CSS Transitions: property <filter> from [none] to [invert(1)] at (-1) should be [invert(0)] 123 123 PASS CSS Transitions: property <filter> from [none] to [invert(1)] at (0) should be [invert(0)] 124 124 PASS CSS Transitions: property <filter> from [none] to [invert(1)] at (0.5) should be [invert(0.5)] 125 125 PASS CSS Transitions: property <filter> from [none] to [invert(1)] at (1) should be [invert(1)] 126 FAIL CSS Transitions: property <filter> from [none] to [invert(1)] at (1.5) should be [invert(1)] assert_equals: expected "invert ( 1 ) " but got "invert ( 1.5 ) " 127 FAIL CSS Transitions with transition: all: property <filter> from [none] to [invert(1)] at (-1) should be [invert(0)] assert_equals: expected "invert ( 0 ) " but got "invert ( - 1 ) " 126 PASS CSS Transitions: property <filter> from [none] to [invert(1)] at (1.5) should be [invert(1)] 127 PASS CSS Transitions with transition: all: property <filter> from [none] to [invert(1)] at (-1) should be [invert(0)] 128 128 PASS CSS Transitions with transition: all: property <filter> from [none] to [invert(1)] at (0) should be [invert(0)] 129 129 PASS CSS Transitions with transition: all: property <filter> from [none] to [invert(1)] at (0.5) should be [invert(0.5)] 130 130 PASS CSS Transitions with transition: all: property <filter> from [none] to [invert(1)] at (1) should be [invert(1)] 131 FAIL CSS Transitions with transition: all: property <filter> from [none] to [invert(1)] at (1.5) should be [invert(1)] assert_equals: expected "invert ( 1 ) " but got "invert ( 1.5 ) " 132 FAIL CSS Animations: property <filter> from [none] to [invert(1)] at (-1) should be [invert(0)] assert_equals: expected "invert ( 0 ) " but got "invert ( - 1 ) " 131 PASS CSS Transitions with transition: all: property <filter> from [none] to [invert(1)] at (1.5) should be [invert(1)] 132 PASS CSS Animations: property <filter> from [none] to [invert(1)] at (-1) should be [invert(0)] 133 133 PASS CSS Animations: property <filter> from [none] to [invert(1)] at (0) should be [invert(0)] 134 134 PASS CSS Animations: property <filter> from [none] to [invert(1)] at (0.5) should be [invert(0.5)] 135 135 PASS CSS Animations: property <filter> from [none] to [invert(1)] at (1) should be [invert(1)] 136 FAIL CSS Animations: property <filter> from [none] to [invert(1)] at (1.5) should be [invert(1)] assert_equals: expected "invert ( 1 ) " but got "invert ( 1.5 ) " 137 FAIL Web Animations: property <filter> from [none] to [invert(1)] at (-1) should be [invert(0)] assert_equals: expected "invert ( 0 ) " but got "invert ( - 1 ) " 136 PASS CSS Animations: property <filter> from [none] to [invert(1)] at (1.5) should be [invert(1)] 137 PASS Web Animations: property <filter> from [none] to [invert(1)] at (-1) should be [invert(0)] 138 138 PASS Web Animations: property <filter> from [none] to [invert(1)] at (0) should be [invert(0)] 139 139 PASS Web Animations: property <filter> from [none] to [invert(1)] at (0.5) should be [invert(0.5)] 140 140 PASS Web Animations: property <filter> from [none] to [invert(1)] at (1) should be [invert(1)] 141 FAIL Web Animations: property <filter> from [none] to [invert(1)] at (1.5) should be [invert(1)] assert_equals: expected "invert ( 1 ) " but got "invert ( 1.5 ) " 141 PASS Web Animations: property <filter> from [none] to [invert(1)] at (1.5) should be [invert(1)] 142 142 FAIL CSS Transitions: property <filter> from [opacity(0)] to [none] at (-1) should be [opacity(0)] assert_equals: expected "opacity ( 0 ) " but got "opacity ( - 1 ) " 143 143 PASS CSS Transitions: property <filter> from [opacity(0)] to [none] at (0) should be [opacity(0)] … … 180 180 PASS Web Animations: property <filter> from [saturate(0)] to [none] at (1) should be [saturate(1)] 181 181 PASS Web Animations: property <filter> from [saturate(0)] to [none] at (1.5) should be [saturate(1.5)] 182 FAIL CSS Transitions: property <filter> from [none] to [sepia(1)] at (-1) should be [sepia(0)] assert_equals: expected "sepia ( 0 ) " but got "sepia ( - 1 ) " 182 PASS CSS Transitions: property <filter> from [none] to [sepia(1)] at (-1) should be [sepia(0)] 183 183 PASS CSS Transitions: property <filter> from [none] to [sepia(1)] at (0) should be [sepia(0)] 184 184 PASS CSS Transitions: property <filter> from [none] to [sepia(1)] at (0.5) should be [sepia(0.5)] 185 185 PASS CSS Transitions: property <filter> from [none] to [sepia(1)] at (1) should be [sepia(1)] 186 FAIL CSS Transitions: property <filter> from [none] to [sepia(1)] at (1.5) should be [sepia(1)] assert_equals: expected "sepia ( 1 ) " but got "sepia ( 1.5 ) " 187 FAIL CSS Transitions with transition: all: property <filter> from [none] to [sepia(1)] at (-1) should be [sepia(0)] assert_equals: expected "sepia ( 0 ) " but got "sepia ( - 1 ) " 186 PASS CSS Transitions: property <filter> from [none] to [sepia(1)] at (1.5) should be [sepia(1)] 187 PASS CSS Transitions with transition: all: property <filter> from [none] to [sepia(1)] at (-1) should be [sepia(0)] 188 188 PASS CSS Transitions with transition: all: property <filter> from [none] to [sepia(1)] at (0) should be [sepia(0)] 189 189 PASS CSS Transitions with transition: all: property <filter> from [none] to [sepia(1)] at (0.5) should be [sepia(0.5)] 190 190 PASS CSS Transitions with transition: all: property <filter> from [none] to [sepia(1)] at (1) should be [sepia(1)] 191 FAIL CSS Transitions with transition: all: property <filter> from [none] to [sepia(1)] at (1.5) should be [sepia(1)] assert_equals: expected "sepia ( 1 ) " but got "sepia ( 1.5 ) " 192 FAIL CSS Animations: property <filter> from [none] to [sepia(1)] at (-1) should be [sepia(0)] assert_equals: expected "sepia ( 0 ) " but got "sepia ( - 1 ) " 191 PASS CSS Transitions with transition: all: property <filter> from [none] to [sepia(1)] at (1.5) should be [sepia(1)] 192 PASS CSS Animations: property <filter> from [none] to [sepia(1)] at (-1) should be [sepia(0)] 193 193 PASS CSS Animations: property <filter> from [none] to [sepia(1)] at (0) should be [sepia(0)] 194 194 PASS CSS Animations: property <filter> from [none] to [sepia(1)] at (0.5) should be [sepia(0.5)] 195 195 PASS CSS Animations: property <filter> from [none] to [sepia(1)] at (1) should be [sepia(1)] 196 FAIL CSS Animations: property <filter> from [none] to [sepia(1)] at (1.5) should be [sepia(1)] assert_equals: expected "sepia ( 1 ) " but got "sepia ( 1.5 ) " 197 FAIL Web Animations: property <filter> from [none] to [sepia(1)] at (-1) should be [sepia(0)] assert_equals: expected "sepia ( 0 ) " but got "sepia ( - 1 ) " 196 PASS CSS Animations: property <filter> from [none] to [sepia(1)] at (1.5) should be [sepia(1)] 197 PASS Web Animations: property <filter> from [none] to [sepia(1)] at (-1) should be [sepia(0)] 198 198 PASS Web Animations: property <filter> from [none] to [sepia(1)] at (0) should be [sepia(0)] 199 199 PASS Web Animations: property <filter> from [none] to [sepia(1)] at (0.5) should be [sepia(0.5)] 200 200 PASS Web Animations: property <filter> from [none] to [sepia(1)] at (1) should be [sepia(1)] 201 FAIL Web Animations: property <filter> from [none] to [sepia(1)] at (1.5) should be [sepia(1)] assert_equals: expected "sepia ( 1 ) " but got "sepia ( 1.5 ) " 201 PASS Web Animations: property <filter> from [none] to [sepia(1)] at (1.5) should be [sepia(1)] 202 202 FAIL CSS Transitions: property <filter> from [url("#svgfilter")] to [none] at (-0.3) should be [none] assert_equals: expected "none " but got "url ( \" # svgfilter \" ) " 203 203 FAIL CSS Transitions: property <filter> from [url("#svgfilter")] to [none] at (0) should be [none] assert_equals: expected "none " but got "url ( \" # svgfilter \" ) " … … 256 256 PASS Web Animations: property <filter> from [url("#svgfilter")] to [blur(5px)] at (1) should be [blur(5px)] 257 257 PASS Web Animations: property <filter> from [url("#svgfilter")] to [blur(5px)] at (1.5) should be [blur(5px)] 258 FAIL CSS Transitions: property <filter> from [initial] to [sepia(1)] at (-1) should be [sepia(0)] assert_equals: expected "sepia ( 0 ) " but got "sepia ( - 1 ) " 258 PASS CSS Transitions: property <filter> from [initial] to [sepia(1)] at (-1) should be [sepia(0)] 259 259 PASS CSS Transitions: property <filter> from [initial] to [sepia(1)] at (0) should be [sepia(0)] 260 260 PASS CSS Transitions: property <filter> from [initial] to [sepia(1)] at (0.5) should be [sepia(0.5)] 261 261 PASS CSS Transitions: property <filter> from [initial] to [sepia(1)] at (1) should be [sepia(1)] 262 FAIL CSS Transitions: property <filter> from [initial] to [sepia(1)] at (1.5) should be [sepia(1)] assert_equals: expected "sepia ( 1 ) " but got "sepia ( 1.5 ) " 263 FAIL CSS Transitions with transition: all: property <filter> from [initial] to [sepia(1)] at (-1) should be [sepia(0)] assert_equals: expected "sepia ( 0 ) " but got "sepia ( - 1 ) " 262 PASS CSS Transitions: property <filter> from [initial] to [sepia(1)] at (1.5) should be [sepia(1)] 263 PASS CSS Transitions with transition: all: property <filter> from [initial] to [sepia(1)] at (-1) should be [sepia(0)] 264 264 PASS CSS Transitions with transition: all: property <filter> from [initial] to [sepia(1)] at (0) should be [sepia(0)] 265 265 PASS CSS Transitions with transition: all: property <filter> from [initial] to [sepia(1)] at (0.5) should be [sepia(0.5)] 266 266 PASS CSS Transitions with transition: all: property <filter> from [initial] to [sepia(1)] at (1) should be [sepia(1)] 267 FAIL CSS Transitions with transition: all: property <filter> from [initial] to [sepia(1)] at (1.5) should be [sepia(1)] assert_equals: expected "sepia ( 1 ) " but got "sepia ( 1.5 ) " 268 FAIL CSS Animations: property <filter> from [initial] to [sepia(1)] at (-1) should be [sepia(0)] assert_equals: expected "sepia ( 0 ) " but got "sepia ( - 1 ) " 267 PASS CSS Transitions with transition: all: property <filter> from [initial] to [sepia(1)] at (1.5) should be [sepia(1)] 268 PASS CSS Animations: property <filter> from [initial] to [sepia(1)] at (-1) should be [sepia(0)] 269 269 PASS CSS Animations: property <filter> from [initial] to [sepia(1)] at (0) should be [sepia(0)] 270 270 PASS CSS Animations: property <filter> from [initial] to [sepia(1)] at (0.5) should be [sepia(0.5)] 271 271 PASS CSS Animations: property <filter> from [initial] to [sepia(1)] at (1) should be [sepia(1)] 272 FAIL CSS Animations: property <filter> from [initial] to [sepia(1)] at (1.5) should be [sepia(1)] assert_equals: expected "sepia ( 1 ) " but got "sepia ( 1.5 ) " 273 FAIL Web Animations: property <filter> from [initial] to [sepia(1)] at (-1) should be [sepia(0)] assert_equals: expected "sepia ( 0 ) " but got "sepia ( - 1 ) " 272 PASS CSS Animations: property <filter> from [initial] to [sepia(1)] at (1.5) should be [sepia(1)] 273 PASS Web Animations: property <filter> from [initial] to [sepia(1)] at (-1) should be [sepia(0)] 274 274 PASS Web Animations: property <filter> from [initial] to [sepia(1)] at (0) should be [sepia(0)] 275 275 PASS Web Animations: property <filter> from [initial] to [sepia(1)] at (0.5) should be [sepia(0.5)] 276 276 PASS Web Animations: property <filter> from [initial] to [sepia(1)] at (1) should be [sepia(1)] 277 FAIL Web Animations: property <filter> from [initial] to [sepia(1)] at (1.5) should be [sepia(1)] assert_equals: expected "sepia ( 1 ) " but got "sepia ( 1.5 ) " 277 PASS Web Animations: property <filter> from [initial] to [sepia(1)] at (1.5) should be [sepia(1)] 278 278 -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/filter-effects/animation/filter-interpolation-004-expected.txt
r287813 r287815 1 1 2 FAIL CSS Transitions: property <filter> from [blur()] to [blur(10px)] at (-1) should be [blur(0px)] assert_equals: expected "blur ( 0px ) " but got "blur ( - 10px ) " 2 PASS CSS Transitions: property <filter> from [blur()] to [blur(10px)] at (-1) should be [blur(0px)] 3 3 PASS CSS Transitions: property <filter> from [blur()] to [blur(10px)] at (0) should be [blur()] 4 4 PASS CSS Transitions: property <filter> from [blur()] to [blur(10px)] at (0.5) should be [blur(5px)] 5 5 PASS CSS Transitions: property <filter> from [blur()] to [blur(10px)] at (1) should be [blur(10px)] 6 6 PASS CSS Transitions: property <filter> from [blur()] to [blur(10px)] at (1.5) should be [blur(15px)] 7 FAIL CSS Transitions with transition: all: property <filter> from [blur()] to [blur(10px)] at (-1) should be [blur(0px)] assert_equals: expected "blur ( 0px ) " but got "blur ( - 10px ) " 7 PASS CSS Transitions with transition: all: property <filter> from [blur()] to [blur(10px)] at (-1) should be [blur(0px)] 8 8 PASS CSS Transitions with transition: all: property <filter> from [blur()] to [blur(10px)] at (0) should be [blur()] 9 9 PASS CSS Transitions with transition: all: property <filter> from [blur()] to [blur(10px)] at (0.5) should be [blur(5px)] 10 10 PASS CSS Transitions with transition: all: property <filter> from [blur()] to [blur(10px)] at (1) should be [blur(10px)] 11 11 PASS CSS Transitions with transition: all: property <filter> from [blur()] to [blur(10px)] at (1.5) should be [blur(15px)] 12 FAIL CSS Animations: property <filter> from [blur()] to [blur(10px)] at (-1) should be [blur(0px)] assert_equals: expected "blur ( 0px ) " but got "blur ( - 10px ) " 12 PASS CSS Animations: property <filter> from [blur()] to [blur(10px)] at (-1) should be [blur(0px)] 13 13 PASS CSS Animations: property <filter> from [blur()] to [blur(10px)] at (0) should be [blur()] 14 14 PASS CSS Animations: property <filter> from [blur()] to [blur(10px)] at (0.5) should be [blur(5px)] 15 15 PASS CSS Animations: property <filter> from [blur()] to [blur(10px)] at (1) should be [blur(10px)] 16 16 PASS CSS Animations: property <filter> from [blur()] to [blur(10px)] at (1.5) should be [blur(15px)] 17 FAIL Web Animations: property <filter> from [blur()] to [blur(10px)] at (-1) should be [blur(0px)] assert_equals: expected "blur ( 0px ) " but got "blur ( - 10px ) " 17 PASS Web Animations: property <filter> from [blur()] to [blur(10px)] at (-1) should be [blur(0px)] 18 18 PASS Web Animations: property <filter> from [blur()] to [blur(10px)] at (0) should be [blur()] 19 19 PASS Web Animations: property <filter> from [blur()] to [blur(10px)] at (0.5) should be [blur(5px)] 20 20 PASS Web Animations: property <filter> from [blur()] to [blur(10px)] at (1) should be [blur(10px)] 21 21 PASS Web Animations: property <filter> from [blur()] to [blur(10px)] at (1.5) should be [blur(15px)] 22 FAIL CSS Transitions: property <filter> from [brightness(0)] to [brightness()] at (-1) should be [brightness(0)] assert_equals: expected "brightness ( 0 ) " but got "brightness ( - 1 ) " 22 PASS CSS Transitions: property <filter> from [brightness(0)] to [brightness()] at (-1) should be [brightness(0)] 23 23 PASS CSS Transitions: property <filter> from [brightness(0)] to [brightness()] at (0) should be [brightness(0)] 24 24 PASS CSS Transitions: property <filter> from [brightness(0)] to [brightness()] at (0.5) should be [brightness(0.5)] 25 25 PASS CSS Transitions: property <filter> from [brightness(0)] to [brightness()] at (1) should be [brightness()] 26 26 PASS CSS Transitions: property <filter> from [brightness(0)] to [brightness()] at (1.5) should be [brightness(1.5)] 27 FAIL CSS Transitions with transition: all: property <filter> from [brightness(0)] to [brightness()] at (-1) should be [brightness(0)] assert_equals: expected "brightness ( 0 ) " but got "brightness ( - 1 ) " 27 PASS CSS Transitions with transition: all: property <filter> from [brightness(0)] to [brightness()] at (-1) should be [brightness(0)] 28 28 PASS CSS Transitions with transition: all: property <filter> from [brightness(0)] to [brightness()] at (0) should be [brightness(0)] 29 29 PASS CSS Transitions with transition: all: property <filter> from [brightness(0)] to [brightness()] at (0.5) should be [brightness(0.5)] 30 30 PASS CSS Transitions with transition: all: property <filter> from [brightness(0)] to [brightness()] at (1) should be [brightness()] 31 31 PASS CSS Transitions with transition: all: property <filter> from [brightness(0)] to [brightness()] at (1.5) should be [brightness(1.5)] 32 FAIL CSS Animations: property <filter> from [brightness(0)] to [brightness()] at (-1) should be [brightness(0)] assert_equals: expected "brightness ( 0 ) " but got "brightness ( - 1 ) " 32 PASS CSS Animations: property <filter> from [brightness(0)] to [brightness()] at (-1) should be [brightness(0)] 33 33 PASS CSS Animations: property <filter> from [brightness(0)] to [brightness()] at (0) should be [brightness(0)] 34 34 PASS CSS Animations: property <filter> from [brightness(0)] to [brightness()] at (0.5) should be [brightness(0.5)] 35 35 PASS CSS Animations: property <filter> from [brightness(0)] to [brightness()] at (1) should be [brightness()] 36 36 PASS CSS Animations: property <filter> from [brightness(0)] to [brightness()] at (1.5) should be [brightness(1.5)] 37 FAIL Web Animations: property <filter> from [brightness(0)] to [brightness()] at (-1) should be [brightness(0)] assert_equals: expected "brightness ( 0 ) " but got "brightness ( - 1 ) " 37 PASS Web Animations: property <filter> from [brightness(0)] to [brightness()] at (-1) should be [brightness(0)] 38 38 PASS Web Animations: property <filter> from [brightness(0)] to [brightness()] at (0) should be [brightness(0)] 39 39 PASS Web Animations: property <filter> from [brightness(0)] to [brightness()] at (0.5) should be [brightness(0.5)] 40 40 PASS Web Animations: property <filter> from [brightness(0)] to [brightness()] at (1) should be [brightness()] 41 41 PASS Web Animations: property <filter> from [brightness(0)] to [brightness()] at (1.5) should be [brightness(1.5)] 42 FAIL CSS Transitions: property <filter> from [contrast(0)] to [contrast()] at (-1) should be [contrast(0)] assert_equals: expected "contrast ( 0 ) " but got "contrast ( - 1 ) " 42 PASS CSS Transitions: property <filter> from [contrast(0)] to [contrast()] at (-1) should be [contrast(0)] 43 43 PASS CSS Transitions: property <filter> from [contrast(0)] to [contrast()] at (0) should be [contrast(0)] 44 44 PASS CSS Transitions: property <filter> from [contrast(0)] to [contrast()] at (0.5) should be [contrast(0.5)] 45 45 PASS CSS Transitions: property <filter> from [contrast(0)] to [contrast()] at (1) should be [contrast()] 46 46 PASS CSS Transitions: property <filter> from [contrast(0)] to [contrast()] at (1.5) should be [contrast(1.5)] 47 FAIL CSS Transitions with transition: all: property <filter> from [contrast(0)] to [contrast()] at (-1) should be [contrast(0)] assert_equals: expected "contrast ( 0 ) " but got "contrast ( - 1 ) " 47 PASS CSS Transitions with transition: all: property <filter> from [contrast(0)] to [contrast()] at (-1) should be [contrast(0)] 48 48 PASS CSS Transitions with transition: all: property <filter> from [contrast(0)] to [contrast()] at (0) should be [contrast(0)] 49 49 PASS CSS Transitions with transition: all: property <filter> from [contrast(0)] to [contrast()] at (0.5) should be [contrast(0.5)] 50 50 PASS CSS Transitions with transition: all: property <filter> from [contrast(0)] to [contrast()] at (1) should be [contrast()] 51 51 PASS CSS Transitions with transition: all: property <filter> from [contrast(0)] to [contrast()] at (1.5) should be [contrast(1.5)] 52 FAIL CSS Animations: property <filter> from [contrast(0)] to [contrast()] at (-1) should be [contrast(0)] assert_equals: expected "contrast ( 0 ) " but got "contrast ( - 1 ) " 52 PASS CSS Animations: property <filter> from [contrast(0)] to [contrast()] at (-1) should be [contrast(0)] 53 53 PASS CSS Animations: property <filter> from [contrast(0)] to [contrast()] at (0) should be [contrast(0)] 54 54 PASS CSS Animations: property <filter> from [contrast(0)] to [contrast()] at (0.5) should be [contrast(0.5)] 55 55 PASS CSS Animations: property <filter> from [contrast(0)] to [contrast()] at (1) should be [contrast()] 56 56 PASS CSS Animations: property <filter> from [contrast(0)] to [contrast()] at (1.5) should be [contrast(1.5)] 57 FAIL Web Animations: property <filter> from [contrast(0)] to [contrast()] at (-1) should be [contrast(0)] assert_equals: expected "contrast ( 0 ) " but got "contrast ( - 1 ) " 57 PASS Web Animations: property <filter> from [contrast(0)] to [contrast()] at (-1) should be [contrast(0)] 58 58 PASS Web Animations: property <filter> from [contrast(0)] to [contrast()] at (0) should be [contrast(0)] 59 59 PASS Web Animations: property <filter> from [contrast(0)] to [contrast()] at (0.5) should be [contrast(0.5)] 60 60 PASS Web Animations: property <filter> from [contrast(0)] to [contrast()] at (1) should be [contrast()] 61 61 PASS Web Animations: property <filter> from [contrast(0)] to [contrast()] at (1.5) should be [contrast(1.5)] 62 FAIL CSS Transitions: property <filter> from [drop-shadow(0px 0px)] to [drop-shadow(20px 10px 30px green)] at (-1) should be [drop-shadow(-20px -10px blue)] assert_equals: expected "drop - shadow ( rgb ( 0 , 0 , 255 ) - 20px - 10px 0px ) " but got "drop - shadow ( rgba ( 0 , 0 , 0 , 0 ) - 20px - 10px - 30px ) "62 FAIL CSS Transitions: property <filter> from [drop-shadow(0px 0px)] to [drop-shadow(20px 10px 30px green)] at (-1) should be [drop-shadow(-20px -10px blue)] assert_equals: expected "drop - shadow ( rgb ( 0 , 0 , 255 ) - 20px - 10px 0px ) " but got "drop - shadow ( rgba ( 0 , 0 , 0 , 0 ) - 20px - 10px 0px ) " 63 63 FAIL CSS Transitions: property <filter> from [drop-shadow(0px 0px)] to [drop-shadow(20px 10px 30px green)] at (0) should be [drop-shadow(0px 0px blue)] assert_equals: expected "drop - shadow ( rgb ( 0 , 0 , 255 ) 0px 0px 0px ) " but got "drop - shadow ( rgba ( 0 , 0 , 0 , 0 ) 0px 0px 0px ) " 64 64 FAIL CSS Transitions: property <filter> from [drop-shadow(0px 0px)] to [drop-shadow(20px 10px 30px green)] at (0.5) should be [drop-shadow(10px 5px 15px rgb(0, 64, 128))] assert_equals: expected "drop - shadow ( rgb ( 0 , 64 , 128 ) 10px 5px 15px ) " but got "drop - shadow ( rgba ( 0 , 128 , 0 , 0.5 ) 10px 5px 15px ) " 65 65 PASS CSS Transitions: property <filter> from [drop-shadow(0px 0px)] to [drop-shadow(20px 10px 30px green)] at (1) should be [drop-shadow(20px 10px 30px green)] 66 66 PASS CSS Transitions: property <filter> from [drop-shadow(0px 0px)] to [drop-shadow(20px 10px 30px green)] at (1.5) should be [drop-shadow(30px 15px 45px rgb(0, 192, 0))] 67 FAIL CSS Transitions with transition: all: property <filter> from [drop-shadow(0px 0px)] to [drop-shadow(20px 10px 30px green)] at (-1) should be [drop-shadow(-20px -10px blue)] assert_equals: expected "drop - shadow ( rgb ( 0 , 0 , 255 ) - 20px - 10px 0px ) " but got "drop - shadow ( rgba ( 0 , 0 , 0 , 0 ) - 20px - 10px - 30px ) "67 FAIL CSS Transitions with transition: all: property <filter> from [drop-shadow(0px 0px)] to [drop-shadow(20px 10px 30px green)] at (-1) should be [drop-shadow(-20px -10px blue)] assert_equals: expected "drop - shadow ( rgb ( 0 , 0 , 255 ) - 20px - 10px 0px ) " but got "drop - shadow ( rgba ( 0 , 0 , 0 , 0 ) - 20px - 10px 0px ) " 68 68 FAIL CSS Transitions with transition: all: property <filter> from [drop-shadow(0px 0px)] to [drop-shadow(20px 10px 30px green)] at (0) should be [drop-shadow(0px 0px blue)] assert_equals: expected "drop - shadow ( rgb ( 0 , 0 , 255 ) 0px 0px 0px ) " but got "drop - shadow ( rgba ( 0 , 0 , 0 , 0 ) 0px 0px 0px ) " 69 69 FAIL CSS Transitions with transition: all: property <filter> from [drop-shadow(0px 0px)] to [drop-shadow(20px 10px 30px green)] at (0.5) should be [drop-shadow(10px 5px 15px rgb(0, 64, 128))] assert_equals: expected "drop - shadow ( rgb ( 0 , 64 , 128 ) 10px 5px 15px ) " but got "drop - shadow ( rgba ( 0 , 128 , 0 , 0.5 ) 10px 5px 15px ) " 70 70 PASS CSS Transitions with transition: all: property <filter> from [drop-shadow(0px 0px)] to [drop-shadow(20px 10px 30px green)] at (1) should be [drop-shadow(20px 10px 30px green)] 71 71 PASS CSS Transitions with transition: all: property <filter> from [drop-shadow(0px 0px)] to [drop-shadow(20px 10px 30px green)] at (1.5) should be [drop-shadow(30px 15px 45px rgb(0, 192, 0))] 72 FAIL CSS Animations: property <filter> from [drop-shadow(0px 0px)] to [drop-shadow(20px 10px 30px green)] at (-1) should be [drop-shadow(-20px -10px blue)] assert_equals: expected "drop - shadow ( rgb ( 0 , 0 , 255 ) - 20px - 10px 0px ) " but got "drop - shadow ( rgba ( 0 , 0 , 0 , 0 ) - 20px - 10px - 30px ) "72 FAIL CSS Animations: property <filter> from [drop-shadow(0px 0px)] to [drop-shadow(20px 10px 30px green)] at (-1) should be [drop-shadow(-20px -10px blue)] assert_equals: expected "drop - shadow ( rgb ( 0 , 0 , 255 ) - 20px - 10px 0px ) " but got "drop - shadow ( rgba ( 0 , 0 , 0 , 0 ) - 20px - 10px 0px ) " 73 73 FAIL CSS Animations: property <filter> from [drop-shadow(0px 0px)] to [drop-shadow(20px 10px 30px green)] at (0) should be [drop-shadow(0px 0px blue)] assert_equals: expected "drop - shadow ( rgb ( 0 , 0 , 255 ) 0px 0px 0px ) " but got "drop - shadow ( rgba ( 0 , 0 , 0 , 0 ) 0px 0px 0px ) " 74 74 FAIL CSS Animations: property <filter> from [drop-shadow(0px 0px)] to [drop-shadow(20px 10px 30px green)] at (0.5) should be [drop-shadow(10px 5px 15px rgb(0, 64, 128))] assert_equals: expected "drop - shadow ( rgb ( 0 , 64 , 128 ) 10px 5px 15px ) " but got "drop - shadow ( rgba ( 0 , 128 , 0 , 0.5 ) 10px 5px 15px ) " 75 75 PASS CSS Animations: property <filter> from [drop-shadow(0px 0px)] to [drop-shadow(20px 10px 30px green)] at (1) should be [drop-shadow(20px 10px 30px green)] 76 76 PASS CSS Animations: property <filter> from [drop-shadow(0px 0px)] to [drop-shadow(20px 10px 30px green)] at (1.5) should be [drop-shadow(30px 15px 45px rgb(0, 192, 0))] 77 FAIL Web Animations: property <filter> from [drop-shadow(0px 0px)] to [drop-shadow(20px 10px 30px green)] at (-1) should be [drop-shadow(-20px -10px blue)] assert_equals: expected "drop - shadow ( rgb ( 0 , 0 , 255 ) - 20px - 10px 0px ) " but got "drop - shadow ( rgba ( 0 , 0 , 0 , 0 ) - 20px - 10px - 30px ) "77 FAIL Web Animations: property <filter> from [drop-shadow(0px 0px)] to [drop-shadow(20px 10px 30px green)] at (-1) should be [drop-shadow(-20px -10px blue)] assert_equals: expected "drop - shadow ( rgb ( 0 , 0 , 255 ) - 20px - 10px 0px ) " but got "drop - shadow ( rgba ( 0 , 0 , 0 , 0 ) - 20px - 10px 0px ) " 78 78 FAIL Web Animations: property <filter> from [drop-shadow(0px 0px)] to [drop-shadow(20px 10px 30px green)] at (0) should be [drop-shadow(0px 0px blue)] assert_equals: expected "drop - shadow ( rgb ( 0 , 0 , 255 ) 0px 0px 0px ) " but got "drop - shadow ( rgba ( 0 , 0 , 0 , 0 ) 0px 0px 0px ) " 79 79 FAIL Web Animations: property <filter> from [drop-shadow(0px 0px)] to [drop-shadow(20px 10px 30px green)] at (0.5) should be [drop-shadow(10px 5px 15px rgb(0, 64, 128))] assert_equals: expected "drop - shadow ( rgb ( 0 , 64 , 128 ) 10px 5px 15px ) " but got "drop - shadow ( rgba ( 0 , 128 , 0 , 0.5 ) 10px 5px 15px ) " 80 80 PASS Web Animations: property <filter> from [drop-shadow(0px 0px)] to [drop-shadow(20px 10px 30px green)] at (1) should be [drop-shadow(20px 10px 30px green)] 81 81 PASS Web Animations: property <filter> from [drop-shadow(0px 0px)] to [drop-shadow(20px 10px 30px green)] at (1.5) should be [drop-shadow(30px 15px 45px rgb(0, 192, 0))] 82 FAIL CSS Transitions: property <filter> from [grayscale(0)] to [grayscale()] at (-1) should be [grayscale(0)] assert_equals: expected "grayscale ( 0 ) " but got "grayscale ( - 1 ) " 82 PASS CSS Transitions: property <filter> from [grayscale(0)] to [grayscale()] at (-1) should be [grayscale(0)] 83 83 PASS CSS Transitions: property <filter> from [grayscale(0)] to [grayscale()] at (0) should be [grayscale(0)] 84 84 PASS CSS Transitions: property <filter> from [grayscale(0)] to [grayscale()] at (0.5) should be [grayscale(0.5)] 85 85 PASS CSS Transitions: property <filter> from [grayscale(0)] to [grayscale()] at (1) should be [grayscale()] 86 FAIL CSS Transitions: property <filter> from [grayscale(0)] to [grayscale()] at (1.5) should be [grayscale(1)] assert_equals: expected "grayscale ( 1 ) " but got "grayscale ( 1.5 ) " 87 FAIL CSS Transitions with transition: all: property <filter> from [grayscale(0)] to [grayscale()] at (-1) should be [grayscale(0)] assert_equals: expected "grayscale ( 0 ) " but got "grayscale ( - 1 ) " 86 PASS CSS Transitions: property <filter> from [grayscale(0)] to [grayscale()] at (1.5) should be [grayscale(1)] 87 PASS CSS Transitions with transition: all: property <filter> from [grayscale(0)] to [grayscale()] at (-1) should be [grayscale(0)] 88 88 PASS CSS Transitions with transition: all: property <filter> from [grayscale(0)] to [grayscale()] at (0) should be [grayscale(0)] 89 89 PASS CSS Transitions with transition: all: property <filter> from [grayscale(0)] to [grayscale()] at (0.5) should be [grayscale(0.5)] 90 90 PASS CSS Transitions with transition: all: property <filter> from [grayscale(0)] to [grayscale()] at (1) should be [grayscale()] 91 FAIL CSS Transitions with transition: all: property <filter> from [grayscale(0)] to [grayscale()] at (1.5) should be [grayscale(1)] assert_equals: expected "grayscale ( 1 ) " but got "grayscale ( 1.5 ) " 92 FAIL CSS Animations: property <filter> from [grayscale(0)] to [grayscale()] at (-1) should be [grayscale(0)] assert_equals: expected "grayscale ( 0 ) " but got "grayscale ( - 1 ) " 91 PASS CSS Transitions with transition: all: property <filter> from [grayscale(0)] to [grayscale()] at (1.5) should be [grayscale(1)] 92 PASS CSS Animations: property <filter> from [grayscale(0)] to [grayscale()] at (-1) should be [grayscale(0)] 93 93 PASS CSS Animations: property <filter> from [grayscale(0)] to [grayscale()] at (0) should be [grayscale(0)] 94 94 PASS CSS Animations: property <filter> from [grayscale(0)] to [grayscale()] at (0.5) should be [grayscale(0.5)] 95 95 PASS CSS Animations: property <filter> from [grayscale(0)] to [grayscale()] at (1) should be [grayscale()] 96 FAIL CSS Animations: property <filter> from [grayscale(0)] to [grayscale()] at (1.5) should be [grayscale(1)] assert_equals: expected "grayscale ( 1 ) " but got "grayscale ( 1.5 ) " 97 FAIL Web Animations: property <filter> from [grayscale(0)] to [grayscale()] at (-1) should be [grayscale(0)] assert_equals: expected "grayscale ( 0 ) " but got "grayscale ( - 1 ) " 96 PASS CSS Animations: property <filter> from [grayscale(0)] to [grayscale()] at (1.5) should be [grayscale(1)] 97 PASS Web Animations: property <filter> from [grayscale(0)] to [grayscale()] at (-1) should be [grayscale(0)] 98 98 PASS Web Animations: property <filter> from [grayscale(0)] to [grayscale()] at (0) should be [grayscale(0)] 99 99 PASS Web Animations: property <filter> from [grayscale(0)] to [grayscale()] at (0.5) should be [grayscale(0.5)] 100 100 PASS Web Animations: property <filter> from [grayscale(0)] to [grayscale()] at (1) should be [grayscale()] 101 FAIL Web Animations: property <filter> from [grayscale(0)] to [grayscale()] at (1.5) should be [grayscale(1)] assert_equals: expected "grayscale ( 1 ) " but got "grayscale ( 1.5 ) " 101 PASS Web Animations: property <filter> from [grayscale(0)] to [grayscale()] at (1.5) should be [grayscale(1)] 102 102 PASS CSS Transitions: property <filter> from [hue-rotate()] to [hue-rotate(360deg)] at (-1) should be [hue-rotate(-360deg)] 103 103 PASS CSS Transitions: property <filter> from [hue-rotate()] to [hue-rotate(360deg)] at (0) should be [hue-rotate()] … … 120 120 PASS Web Animations: property <filter> from [hue-rotate()] to [hue-rotate(360deg)] at (1) should be [hue-rotate(360deg)] 121 121 PASS Web Animations: property <filter> from [hue-rotate()] to [hue-rotate(360deg)] at (1.5) should be [hue-rotate(540deg)] 122 FAIL CSS Transitions: property <filter> from [invert(0)] to [invert()] at (-1) should be [invert(0)] assert_equals: expected "invert ( 0 ) " but got "invert ( - 1 ) " 122 PASS CSS Transitions: property <filter> from [invert(0)] to [invert()] at (-1) should be [invert(0)] 123 123 PASS CSS Transitions: property <filter> from [invert(0)] to [invert()] at (0) should be [invert(0)] 124 124 PASS CSS Transitions: property <filter> from [invert(0)] to [invert()] at (0.5) should be [invert(0.5)] 125 125 PASS CSS Transitions: property <filter> from [invert(0)] to [invert()] at (1) should be [invert()] 126 FAIL CSS Transitions: property <filter> from [invert(0)] to [invert()] at (1.5) should be [invert(1)] assert_equals: expected "invert ( 1 ) " but got "invert ( 1.5 ) " 127 FAIL CSS Transitions with transition: all: property <filter> from [invert(0)] to [invert()] at (-1) should be [invert(0)] assert_equals: expected "invert ( 0 ) " but got "invert ( - 1 ) " 126 PASS CSS Transitions: property <filter> from [invert(0)] to [invert()] at (1.5) should be [invert(1)] 127 PASS CSS Transitions with transition: all: property <filter> from [invert(0)] to [invert()] at (-1) should be [invert(0)] 128 128 PASS CSS Transitions with transition: all: property <filter> from [invert(0)] to [invert()] at (0) should be [invert(0)] 129 129 PASS CSS Transitions with transition: all: property <filter> from [invert(0)] to [invert()] at (0.5) should be [invert(0.5)] 130 130 PASS CSS Transitions with transition: all: property <filter> from [invert(0)] to [invert()] at (1) should be [invert()] 131 FAIL CSS Transitions with transition: all: property <filter> from [invert(0)] to [invert()] at (1.5) should be [invert(1)] assert_equals: expected "invert ( 1 ) " but got "invert ( 1.5 ) " 132 FAIL CSS Animations: property <filter> from [invert(0)] to [invert()] at (-1) should be [invert(0)] assert_equals: expected "invert ( 0 ) " but got "invert ( - 1 ) " 131 PASS CSS Transitions with transition: all: property <filter> from [invert(0)] to [invert()] at (1.5) should be [invert(1)] 132 PASS CSS Animations: property <filter> from [invert(0)] to [invert()] at (-1) should be [invert(0)] 133 133 PASS CSS Animations: property <filter> from [invert(0)] to [invert()] at (0) should be [invert(0)] 134 134 PASS CSS Animations: property <filter> from [invert(0)] to [invert()] at (0.5) should be [invert(0.5)] 135 135 PASS CSS Animations: property <filter> from [invert(0)] to [invert()] at (1) should be [invert()] 136 FAIL CSS Animations: property <filter> from [invert(0)] to [invert()] at (1.5) should be [invert(1)] assert_equals: expected "invert ( 1 ) " but got "invert ( 1.5 ) " 137 FAIL Web Animations: property <filter> from [invert(0)] to [invert()] at (-1) should be [invert(0)] assert_equals: expected "invert ( 0 ) " but got "invert ( - 1 ) " 136 PASS CSS Animations: property <filter> from [invert(0)] to [invert()] at (1.5) should be [invert(1)] 137 PASS Web Animations: property <filter> from [invert(0)] to [invert()] at (-1) should be [invert(0)] 138 138 PASS Web Animations: property <filter> from [invert(0)] to [invert()] at (0) should be [invert(0)] 139 139 PASS Web Animations: property <filter> from [invert(0)] to [invert()] at (0.5) should be [invert(0.5)] 140 140 PASS Web Animations: property <filter> from [invert(0)] to [invert()] at (1) should be [invert()] 141 FAIL Web Animations: property <filter> from [invert(0)] to [invert()] at (1.5) should be [invert(1)] assert_equals: expected "invert ( 1 ) " but got "invert ( 1.5 ) " 142 FAIL CSS Transitions: property <filter> from [opacity(0)] to [opacity()] at (-1) should be [opacity(0)] assert_equals: expected "opacity ( 0 ) " but got "opacity ( - 1 ) " 141 PASS Web Animations: property <filter> from [invert(0)] to [invert()] at (1.5) should be [invert(1)] 142 PASS CSS Transitions: property <filter> from [opacity(0)] to [opacity()] at (-1) should be [opacity(0)] 143 143 PASS CSS Transitions: property <filter> from [opacity(0)] to [opacity()] at (0) should be [opacity(0)] 144 144 PASS CSS Transitions: property <filter> from [opacity(0)] to [opacity()] at (0.5) should be [opacity(0.5)] 145 145 PASS CSS Transitions: property <filter> from [opacity(0)] to [opacity()] at (1) should be [opacity()] 146 FAIL CSS Transitions: property <filter> from [opacity(0)] to [opacity()] at (1.5) should be [opacity(1)] assert_equals: expected "opacity ( 1 ) " but got "opacity ( 1.5 ) " 147 FAIL CSS Transitions with transition: all: property <filter> from [opacity(0)] to [opacity()] at (-1) should be [opacity(0)] assert_equals: expected "opacity ( 0 ) " but got "opacity ( - 1 ) " 146 PASS CSS Transitions: property <filter> from [opacity(0)] to [opacity()] at (1.5) should be [opacity(1)] 147 PASS CSS Transitions with transition: all: property <filter> from [opacity(0)] to [opacity()] at (-1) should be [opacity(0)] 148 148 PASS CSS Transitions with transition: all: property <filter> from [opacity(0)] to [opacity()] at (0) should be [opacity(0)] 149 149 PASS CSS Transitions with transition: all: property <filter> from [opacity(0)] to [opacity()] at (0.5) should be [opacity(0.5)] 150 150 PASS CSS Transitions with transition: all: property <filter> from [opacity(0)] to [opacity()] at (1) should be [opacity()] 151 FAIL CSS Transitions with transition: all: property <filter> from [opacity(0)] to [opacity()] at (1.5) should be [opacity(1)] assert_equals: expected "opacity ( 1 ) " but got "opacity ( 1.5 ) " 152 FAIL CSS Animations: property <filter> from [opacity(0)] to [opacity()] at (-1) should be [opacity(0)] assert_equals: expected "opacity ( 0 ) " but got "opacity ( - 1 ) " 151 PASS CSS Transitions with transition: all: property <filter> from [opacity(0)] to [opacity()] at (1.5) should be [opacity(1)] 152 PASS CSS Animations: property <filter> from [opacity(0)] to [opacity()] at (-1) should be [opacity(0)] 153 153 PASS CSS Animations: property <filter> from [opacity(0)] to [opacity()] at (0) should be [opacity(0)] 154 154 PASS CSS Animations: property <filter> from [opacity(0)] to [opacity()] at (0.5) should be [opacity(0.5)] 155 155 PASS CSS Animations: property <filter> from [opacity(0)] to [opacity()] at (1) should be [opacity()] 156 FAIL CSS Animations: property <filter> from [opacity(0)] to [opacity()] at (1.5) should be [opacity(1)] assert_equals: expected "opacity ( 1 ) " but got "opacity ( 1.5 ) " 157 FAIL Web Animations: property <filter> from [opacity(0)] to [opacity()] at (-1) should be [opacity(0)] assert_equals: expected "opacity ( 0 ) " but got "opacity ( - 1 ) " 156 PASS CSS Animations: property <filter> from [opacity(0)] to [opacity()] at (1.5) should be [opacity(1)] 157 PASS Web Animations: property <filter> from [opacity(0)] to [opacity()] at (-1) should be [opacity(0)] 158 158 PASS Web Animations: property <filter> from [opacity(0)] to [opacity()] at (0) should be [opacity(0)] 159 159 PASS Web Animations: property <filter> from [opacity(0)] to [opacity()] at (0.5) should be [opacity(0.5)] 160 160 PASS Web Animations: property <filter> from [opacity(0)] to [opacity()] at (1) should be [opacity()] 161 FAIL Web Animations: property <filter> from [opacity(0)] to [opacity()] at (1.5) should be [opacity(1)] assert_equals: expected "opacity ( 1 ) " but got "opacity ( 1.5 ) " 162 FAIL CSS Transitions: property <filter> from [saturate(0)] to [saturate()] at (-1) should be [saturate(0)] assert_equals: expected "saturate ( 0 ) " but got "saturate ( - 1 ) " 161 PASS Web Animations: property <filter> from [opacity(0)] to [opacity()] at (1.5) should be [opacity(1)] 162 PASS CSS Transitions: property <filter> from [saturate(0)] to [saturate()] at (-1) should be [saturate(0)] 163 163 PASS CSS Transitions: property <filter> from [saturate(0)] to [saturate()] at (0) should be [saturate(0)] 164 164 PASS CSS Transitions: property <filter> from [saturate(0)] to [saturate()] at (0.5) should be [saturate(0.5)] 165 165 PASS CSS Transitions: property <filter> from [saturate(0)] to [saturate()] at (1) should be [saturate()] 166 166 PASS CSS Transitions: property <filter> from [saturate(0)] to [saturate()] at (1.5) should be [saturate(1.5)] 167 FAIL CSS Transitions with transition: all: property <filter> from [saturate(0)] to [saturate()] at (-1) should be [saturate(0)] assert_equals: expected "saturate ( 0 ) " but got "saturate ( - 1 ) " 167 PASS CSS Transitions with transition: all: property <filter> from [saturate(0)] to [saturate()] at (-1) should be [saturate(0)] 168 168 PASS CSS Transitions with transition: all: property <filter> from [saturate(0)] to [saturate()] at (0) should be [saturate(0)] 169 169 PASS CSS Transitions with transition: all: property <filter> from [saturate(0)] to [saturate()] at (0.5) should be [saturate(0.5)] 170 170 PASS CSS Transitions with transition: all: property <filter> from [saturate(0)] to [saturate()] at (1) should be [saturate()] 171 171 PASS CSS Transitions with transition: all: property <filter> from [saturate(0)] to [saturate()] at (1.5) should be [saturate(1.5)] 172 FAIL CSS Animations: property <filter> from [saturate(0)] to [saturate()] at (-1) should be [saturate(0)] assert_equals: expected "saturate ( 0 ) " but got "saturate ( - 1 ) " 172 PASS CSS Animations: property <filter> from [saturate(0)] to [saturate()] at (-1) should be [saturate(0)] 173 173 PASS CSS Animations: property <filter> from [saturate(0)] to [saturate()] at (0) should be [saturate(0)] 174 174 PASS CSS Animations: property <filter> from [saturate(0)] to [saturate()] at (0.5) should be [saturate(0.5)] 175 175 PASS CSS Animations: property <filter> from [saturate(0)] to [saturate()] at (1) should be [saturate()] 176 176 PASS CSS Animations: property <filter> from [saturate(0)] to [saturate()] at (1.5) should be [saturate(1.5)] 177 FAIL Web Animations: property <filter> from [saturate(0)] to [saturate()] at (-1) should be [saturate(0)] assert_equals: expected "saturate ( 0 ) " but got "saturate ( - 1 ) " 177 PASS Web Animations: property <filter> from [saturate(0)] to [saturate()] at (-1) should be [saturate(0)] 178 178 PASS Web Animations: property <filter> from [saturate(0)] to [saturate()] at (0) should be [saturate(0)] 179 179 PASS Web Animations: property <filter> from [saturate(0)] to [saturate()] at (0.5) should be [saturate(0.5)] 180 180 PASS Web Animations: property <filter> from [saturate(0)] to [saturate()] at (1) should be [saturate()] 181 181 PASS Web Animations: property <filter> from [saturate(0)] to [saturate()] at (1.5) should be [saturate(1.5)] 182 FAIL CSS Transitions: property <filter> from [sepia(0)] to [sepia()] at (-1) should be [sepia(0)] assert_equals: expected "sepia ( 0 ) " but got "sepia ( - 1 ) " 182 PASS CSS Transitions: property <filter> from [sepia(0)] to [sepia()] at (-1) should be [sepia(0)] 183 183 PASS CSS Transitions: property <filter> from [sepia(0)] to [sepia()] at (0) should be [sepia(0)] 184 184 PASS CSS Transitions: property <filter> from [sepia(0)] to [sepia()] at (0.5) should be [sepia(0.5)] 185 185 PASS CSS Transitions: property <filter> from [sepia(0)] to [sepia()] at (1) should be [sepia()] 186 FAIL CSS Transitions: property <filter> from [sepia(0)] to [sepia()] at (1.5) should be [sepia(1)] assert_equals: expected "sepia ( 1 ) " but got "sepia ( 1.5 ) " 187 FAIL CSS Transitions with transition: all: property <filter> from [sepia(0)] to [sepia()] at (-1) should be [sepia(0)] assert_equals: expected "sepia ( 0 ) " but got "sepia ( - 1 ) " 186 PASS CSS Transitions: property <filter> from [sepia(0)] to [sepia()] at (1.5) should be [sepia(1)] 187 PASS CSS Transitions with transition: all: property <filter> from [sepia(0)] to [sepia()] at (-1) should be [sepia(0)] 188 188 PASS CSS Transitions with transition: all: property <filter> from [sepia(0)] to [sepia()] at (0) should be [sepia(0)] 189 189 PASS CSS Transitions with transition: all: property <filter> from [sepia(0)] to [sepia()] at (0.5) should be [sepia(0.5)] 190 190 PASS CSS Transitions with transition: all: property <filter> from [sepia(0)] to [sepia()] at (1) should be [sepia()] 191 FAIL CSS Transitions with transition: all: property <filter> from [sepia(0)] to [sepia()] at (1.5) should be [sepia(1)] assert_equals: expected "sepia ( 1 ) " but got "sepia ( 1.5 ) " 192 FAIL CSS Animations: property <filter> from [sepia(0)] to [sepia()] at (-1) should be [sepia(0)] assert_equals: expected "sepia ( 0 ) " but got "sepia ( - 1 ) " 191 PASS CSS Transitions with transition: all: property <filter> from [sepia(0)] to [sepia()] at (1.5) should be [sepia(1)] 192 PASS CSS Animations: property <filter> from [sepia(0)] to [sepia()] at (-1) should be [sepia(0)] 193 193 PASS CSS Animations: property <filter> from [sepia(0)] to [sepia()] at (0) should be [sepia(0)] 194 194 PASS CSS Animations: property <filter> from [sepia(0)] to [sepia()] at (0.5) should be [sepia(0.5)] 195 195 PASS CSS Animations: property <filter> from [sepia(0)] to [sepia()] at (1) should be [sepia()] 196 FAIL CSS Animations: property <filter> from [sepia(0)] to [sepia()] at (1.5) should be [sepia(1)] assert_equals: expected "sepia ( 1 ) " but got "sepia ( 1.5 ) " 197 FAIL Web Animations: property <filter> from [sepia(0)] to [sepia()] at (-1) should be [sepia(0)] assert_equals: expected "sepia ( 0 ) " but got "sepia ( - 1 ) " 196 PASS CSS Animations: property <filter> from [sepia(0)] to [sepia()] at (1.5) should be [sepia(1)] 197 PASS Web Animations: property <filter> from [sepia(0)] to [sepia()] at (-1) should be [sepia(0)] 198 198 PASS Web Animations: property <filter> from [sepia(0)] to [sepia()] at (0) should be [sepia(0)] 199 199 PASS Web Animations: property <filter> from [sepia(0)] to [sepia()] at (0.5) should be [sepia(0.5)] 200 200 PASS Web Animations: property <filter> from [sepia(0)] to [sepia()] at (1) should be [sepia()] 201 FAIL Web Animations: property <filter> from [sepia(0)] to [sepia()] at (1.5) should be [sepia(1)] assert_equals: expected "sepia ( 1 ) " but got "sepia ( 1.5 ) " 201 PASS Web Animations: property <filter> from [sepia(0)] to [sepia()] at (1.5) should be [sepia(1)] 202 202 -
trunk/Source/WebCore/ChangeLog
r287814 r287815 1 2022-01-08 Simon Fraser <simon.fraser@apple.com> 2 3 Fix some CSS filter interpolation issues 4 https://bugs.webkit.org/show_bug.cgi?id=235007 5 6 Reviewed by Antoine Quint. 7 8 Ensure that filter values are clamped after animation according to 9 https://drafts.fxtf.org/filter-effects-1/. 10 11 Tested by WPT. 12 13 * platform/graphics/filters/FilterOperation.cpp: 14 (WebCore::BasicColorMatrixFilterOperation::blend): 15 (WebCore::BasicComponentTransferFilterOperation::blend): 16 (WebCore::BlurFilterOperation::blend): 17 (WebCore::DropShadowFilterOperation::blend): 18 1 19 2022-01-08 Wenson Hsieh <wenson_hsieh@apple.com> 2 20 -
trunk/Source/WebCore/platform/graphics/filters/FilterOperation.cpp
r287552 r287815 86 86 const BasicColorMatrixFilterOperation* fromOperation = downcast<BasicColorMatrixFilterOperation>(from); 87 87 double fromAmount = fromOperation ? fromOperation->amount() : passthroughAmount(); 88 return BasicColorMatrixFilterOperation::create(WebCore::blend(fromAmount, m_amount, context), m_type); 88 double blendedAmount = WebCore::blend(fromAmount, m_amount, context); 89 90 switch (m_type) { 91 case GRAYSCALE: 92 case SEPIA: 93 blendedAmount = std::clamp(blendedAmount, 0.0, 1.0); 94 break; 95 case SATURATE: 96 blendedAmount = std::max(blendedAmount, 0.0); 97 break; 98 default: 99 break; 100 } 101 return BasicColorMatrixFilterOperation::create(blendedAmount, m_type); 89 102 } 90 103 … … 149 162 const BasicComponentTransferFilterOperation* fromOperation = downcast<BasicComponentTransferFilterOperation>(from); 150 163 double fromAmount = fromOperation ? fromOperation->amount() : passthroughAmount(); 151 return BasicComponentTransferFilterOperation::create(WebCore::blend(fromAmount, m_amount, context), m_type); 164 double blendedAmount = WebCore::blend(fromAmount, m_amount, context); 165 166 switch (m_type) { 167 case INVERT: 168 case OPACITY: 169 blendedAmount = std::clamp(blendedAmount, 0.0, 1.0); 170 break; 171 case BRIGHTNESS: 172 case CONTRAST: 173 blendedAmount = std::max(blendedAmount, 0.0); 174 break; 175 default: 176 break; 177 } 178 return BasicComponentTransferFilterOperation::create(blendedAmount, m_type); 152 179 } 153 180 … … 345 372 const BlurFilterOperation* fromOperation = downcast<BlurFilterOperation>(from); 346 373 Length fromLength = fromOperation ? fromOperation->m_stdDeviation : Length(lengthType); 347 return BlurFilterOperation::create(WebCore::blend(fromLength, m_stdDeviation, context ));374 return BlurFilterOperation::create(WebCore::blend(fromLength, m_stdDeviation, context, ValueRange::NonNegative)); 348 375 } 349 376 … … 374 401 return DropShadowFilterOperation::create( 375 402 WebCore::blend(fromLocation, m_location, context), 376 WebCore::blend(fromStdDeviation, m_stdDeviation, context),403 std::max(WebCore::blend(fromStdDeviation, m_stdDeviation, context), 0), 377 404 WebCore::blend(fromColor, m_color, context)); 378 405 }
Note:
See TracChangeset
for help on using the changeset viewer.