Changeset 270597 in webkit
- Timestamp:
- Dec 9, 2020 12:55:17 PM (20 months ago)
- Location:
- trunk
- Files:
-
- 5 edited
-
LayoutTests/imported/w3c/ChangeLog (modified) (1 diff)
-
LayoutTests/imported/w3c/web-platform-tests/css/css-transitions/properties-value-003-expected.txt (modified) (1 diff)
-
LayoutTests/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/interpolation-per-property-002-expected.txt (modified) (1 diff)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/animation/CSSPropertyAnimation.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/imported/w3c/ChangeLog
r270589 r270597 1 2020-12-09 Antoine Quint <graouts@webkit.org> 2 3 text-decoration-color animation should not be discrete 4 https://bugs.webkit.org/show_bug.cgi?id=219691 5 <rdar://problem/72138361> 6 7 Reviewed by Simon Fraser. 8 9 * web-platform-tests/css/css-transitions/properties-value-003-expected.txt: 10 * web-platform-tests/web-animations/animation-model/animation-types/interpolation-per-property-002-expected.txt: 11 1 12 2020-12-09 Antoine Quint <graouts@webkit.org> 2 13 -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-transitions/properties-value-003-expected.txt
r270589 r270597 48 48 FAIL marker-offset length(in) / values assert_not_equals: initial and target values may not match got disallowed value "" 49 49 FAIL marker-offset length(in) / events assert_equals: Expected TransitionEnd events triggered on .transition expected "marker-offset:2s" but got "" 50 FAIL text-decoration-color color(rgba) / values assert_not_equals: must not be target value after start got disallowed value "rgba(10, 10, 10, 0.4)" 51 FAIL text-decoration-color color(rgba) / events assert_equals: Expected TransitionEnd events triggered on .transition expected "text-decoration-color:2s" but got "" 50 PASS text-decoration-color color(rgba) / values 51 PASS text-decoration-color color(rgba) / events 52 52 PASS column-count integer(integer) / values 53 53 PASS column-count integer(integer) / events -
trunk/LayoutTests/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/interpolation-per-property-002-expected.txt
r269812 r270597 144 144 PASS text-align uses discrete animation when animating between "start" and "end" with keyframe easing 145 145 PASS text-decoration-color (type: color) has testInterpolation function 146 FAIL text-decoration-color supports animating as color of rgb() assert_equals: The value should be rgb(128, 0, 128) at 500ms expected "rgb(128, 0, 128)" but got "rgb(0, 0, 255)" 147 FAIL text-decoration-color supports animating as color of #RGB assert_equals: The value should be rgb(128, 0, 128) at 500ms expected "rgb(128, 0, 128)" but got "rgb(0, 0, 255)" 148 FAIL text-decoration-color supports animating as color of hsl() assert_equals: The value should be rgb(128, 0, 128) at 500ms expected "rgb(128, 0, 128)" but got "rgb(0, 0, 255)" 149 FAIL text-decoration-color supports animating as color of #RGBa assert_equals: The value should be rgba(85, 0, 170, 0.6) at 500ms expected "rgba(85, 0, 170, 0.6)" but got "rgba(0, 0, 255, 0.8)" 150 FAIL text-decoration-color supports animating as color of rgba() assert_equals: The value should be rgba(85, 0, 170, 0.6) at 500ms expected "rgba(85, 0, 170, 0.6)" but got "rgba(0, 0, 255, 0.8)" 151 FAIL text-decoration-color supports animating as color of hsla() assert_equals: The value should be rgba(85, 0, 170, 0.6) at 500ms expected "rgba(85, 0, 170, 0.6)" but got "rgba(0, 0, 255, 0.8)" 146 PASS text-decoration-color supports animating as color of rgb() 147 PASS text-decoration-color supports animating as color of #RGB 148 PASS text-decoration-color supports animating as color of hsl() 149 PASS text-decoration-color supports animating as color of #RGBa 150 PASS text-decoration-color supports animating as color of rgba() 151 PASS text-decoration-color supports animating as color of hsla() 152 152 PASS text-decoration-line (type: discrete) has testInterpolation function 153 153 PASS text-decoration-line uses discrete animation when animating between "underline" and "overline" with linear easing -
trunk/Source/WebCore/ChangeLog
r270594 r270597 1 2020-12-09 Antoine Quint <graouts@webkit.org> 2 3 text-decoration-color animation should not be discrete 4 https://bugs.webkit.org/show_bug.cgi?id=219691 5 <rdar://problem/72138361> 6 7 Reviewed by Simon Fraser. 8 9 We mistakenly added animation support for text-decoration-color in r269812 as a discrete property. 10 We now correctly make it a property that supports interpolation of the color type. 11 12 * animation/CSSPropertyAnimation.cpp: 13 (WebCore::CSSPropertyAnimationWrapperMap::CSSPropertyAnimationWrapperMap): 14 1 15 2020-12-09 Ryan Haddad <ryanhaddad@apple.com> 2 16 -
trunk/Source/WebCore/animation/CSSPropertyAnimation.cpp
r270589 r270597 1897 1897 new PropertyWrapper<TextDecorationThickness>(CSSPropertyTextDecorationThickness, &RenderStyle::textDecorationThickness, &RenderStyle::setTextDecorationThickness), 1898 1898 new PropertyWrapper<TextUnderlineOffset>(CSSPropertyTextUnderlineOffset, &RenderStyle::textUnderlineOffset, &RenderStyle::setTextUnderlineOffset), 1899 new PropertyWrapperVisitedAffectedColor(CSSPropertyTextDecorationColor, &RenderStyle::textDecorationColor, &RenderStyle::setTextDecorationColor, &RenderStyle::visitedLinkTextDecorationColor, &RenderStyle::setVisitedLinkTextDecorationColor), 1899 1900 1900 1901 new LengthPropertyWrapper(CSSPropertyFlexBasis, &RenderStyle::flexBasis, &RenderStyle::setFlexBasis), … … 1965 1966 new DiscretePropertyWrapper<TableLayoutType>(CSSPropertyTableLayout, &RenderStyle::tableLayout, &RenderStyle::setTableLayout), 1966 1967 new DiscretePropertyWrapper<TextAlignMode>(CSSPropertyTextAlign, &RenderStyle::textAlign, &RenderStyle::setTextAlign), 1967 new DiscretePropertyWrapper<const Color&>(CSSPropertyTextDecorationColor, &RenderStyle::textDecorationColor, &RenderStyle::setTextDecorationColor),1968 1968 new DiscretePropertyWrapper<OptionSet<TextDecoration>>(CSSPropertyTextDecorationLine, &RenderStyle::textDecoration, &RenderStyle::setTextDecoration), 1969 1969 new DiscretePropertyWrapper<TextDecorationStyle>(CSSPropertyTextDecorationStyle, &RenderStyle::textDecorationStyle, &RenderStyle::setTextDecorationStyle),
Note: See TracChangeset
for help on using the changeset viewer.