Changeset 290887 in webkit
- Timestamp:
- Mar 7, 2022 6:24:46 AM (5 months ago)
- Location:
- trunk
- Files:
-
- 7 edited
-
LayoutTests/imported/w3c/ChangeLog (modified) (1 diff)
-
LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo/parsing/marker-supported-properties-in-animation-expected.txt (modified) (2 diffs)
-
LayoutTests/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/accumulation-per-property-002-expected.txt (modified) (1 diff)
-
LayoutTests/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/addition-per-property-002-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) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/imported/w3c/ChangeLog
r290886 r290887 1 2022-03-07 Antoine Quint <graouts@webkit.org> 2 3 [web-animations] text-emphasis-color should support non-discrete animations 4 https://bugs.webkit.org/show_bug.cgi?id=237518 5 6 Reviewed by Antti Koivisto. 7 8 * web-platform-tests/css/css-pseudo/parsing/marker-supported-properties-in-animation-expected.txt: 9 * web-platform-tests/web-animations/animation-model/animation-types/accumulation-per-property-002-expected.txt: 10 * web-platform-tests/web-animations/animation-model/animation-types/addition-per-property-002-expected.txt: 11 * web-platform-tests/web-animations/animation-model/animation-types/interpolation-per-property-002-expected.txt: 12 1 13 2022-03-07 Antoine Quint <graouts@webkit.org> 2 14 -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo/parsing/marker-supported-properties-in-animation-expected.txt
r290886 r290887 36 36 PASS Animation of text-decoration-skip-ink in ::marker 37 37 FAIL Animation of text-emphasis in ::marker assert_equals: expected "triangle rgb(50, 100, 100)" but got "" 38 FAIL Animation of text-emphasis-color in ::marker assert_equals: expected "rgb(50, 100, 100)" but got "rgb(100, 0, 200)" 38 PASS Animation of text-emphasis-color in ::marker 39 39 PASS Animation of text-emphasis-position in ::marker 40 40 FAIL Animation of text-emphasis-style in ::marker assert_equals: expected "triangle" but got "none" … … 83 83 PASS Transition of text-decoration-skip-ink in ::marker 84 84 FAIL Transition of text-emphasis in ::marker assert_equals: expected "triangle rgb(50, 100, 100)" but got "" 85 FAIL Transition of text-emphasis-color in ::marker assert_equals: expected "rgb(50, 100, 100)" but got "rgb(100, 0, 200)" 85 PASS Transition of text-emphasis-color in ::marker 86 86 PASS Transition of text-emphasis-position in ::marker 87 87 FAIL Transition of text-emphasis-style in ::marker assert_equals: expected "triangle" but got "filled triangle" -
trunk/LayoutTests/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/accumulation-per-property-002-expected.txt
r290570 r290887 154 154 PASS text-decoration-style: "solid" onto "dotted" 155 155 PASS text-emphasis-color (type: color) has testAccumulation function 156 FAIL text-emphasis-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)"157 FAIL text-emphasis-color supports animating as color of #RGB assert_equals: The value should be rgb(255, 128, 128) at 0ms expected "rgb(255, 128, 128)" but got "rgb(255, 0, 0)" 158 FAIL text-emphasis-color supports animating as color of hsl() assert_equals: The value should be rgb(255, 128, 128) at 0ms expected "rgb(255, 128, 128)" but got "rgb(255, 0, 0)" 159 FAIL text-emphasis-color supports animating as color of #RGBa assert_equals: The value should be rgb(230, 128, 128) at 0ms expected "rgb(230, 128, 128)" but got "rgba(255, 0, 0, 0.4)" 160 FAIL text-emphasis-color supports animating as color of rgba() assert_equals: The value should be rgb(230, 128, 128) at 0ms expected "rgb(230, 128, 128)" but got "rgba(255, 0, 0, 0.4)" 161 FAIL text-emphasis-color supports animating as color of hsla() assert_equals: The value should be rgb(230, 128, 128) at 0ms expected "rgb(230, 128, 128)" but got "rgba(255, 0, 0, 0.4)" 156 FAIL text-emphasis-color supports animating as color of rgb() with overflowed from and to values assert_equals: The value should be rgb(255, 128, 255) at 500ms expected "rgb(255, 128, 255)" but got "rgb(192, 128, 192)" 157 PASS text-emphasis-color supports animating as color of #RGB 158 PASS text-emphasis-color supports animating as color of hsl() 159 PASS text-emphasis-color supports animating as color of #RGBa 160 PASS text-emphasis-color supports animating as color of rgba() 161 PASS text-emphasis-color supports animating as color of hsla() 162 162 PASS text-emphasis-position (type: discrete) has testAccumulation function 163 163 PASS text-emphasis-position: "under left" onto "over" -
trunk/LayoutTests/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/addition-per-property-002-expected.txt
r290570 r290887 154 154 PASS text-decoration-style: "solid" onto "dotted" 155 155 PASS text-emphasis-color (type: color) has testAddition function 156 FAIL text-emphasis-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)"157 FAIL text-emphasis-color supports animating as color of #RGB assert_equals: The value should be rgb(255, 128, 128) at 0ms expected "rgb(255, 128, 128)" but got "rgb(255, 0, 0)" 158 FAIL text-emphasis-color supports animating as color of hsl() assert_equals: The value should be rgb(255, 128, 128) at 0ms expected "rgb(255, 128, 128)" but got "rgb(255, 0, 0)" 159 FAIL text-emphasis-color supports animating as color of #RGBa assert_equals: The value should be rgb(230, 128, 128) at 0ms expected "rgb(230, 128, 128)" but got "rgba(255, 0, 0, 0.4)" 160 FAIL text-emphasis-color supports animating as color of rgba() assert_equals: The value should be rgb(230, 128, 128) at 0ms expected "rgb(230, 128, 128)" but got "rgba(255, 0, 0, 0.4)" 161 FAIL text-emphasis-color supports animating as color of hsla() assert_equals: The value should be rgb(230, 128, 128) at 0ms expected "rgb(230, 128, 128)" but got "rgba(255, 0, 0, 0.4)" 156 FAIL text-emphasis-color supports animating as color of rgb() with overflowed from and to values assert_equals: The value should be rgb(255, 128, 255) at 500ms expected "rgb(255, 128, 255)" but got "rgb(192, 128, 192)" 157 PASS text-emphasis-color supports animating as color of #RGB 158 PASS text-emphasis-color supports animating as color of hsl() 159 PASS text-emphasis-color supports animating as color of #RGBa 160 PASS text-emphasis-color supports animating as color of rgba() 161 PASS text-emphasis-color supports animating as color of hsla() 162 162 PASS text-emphasis-position (type: discrete) has testAddition function 163 163 PASS text-emphasis-position: "under left" onto "over" -
trunk/LayoutTests/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/interpolation-per-property-002-expected.txt
r289903 r290887 180 180 PASS text-decoration-style uses discrete animation when animating between "solid" and "dotted" with keyframe easing 181 181 PASS text-emphasis-color (type: color) has testInterpolation function 182 FAIL text-emphasis-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)" 183 FAIL text-emphasis-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)" 184 FAIL text-emphasis-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)" 185 FAIL text-emphasis-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)" 186 FAIL text-emphasis-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)" 187 FAIL text-emphasis-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)" 182 PASS text-emphasis-color supports animating as color of rgb() 183 PASS text-emphasis-color supports animating as color of #RGB 184 PASS text-emphasis-color supports animating as color of hsl() 185 PASS text-emphasis-color supports animating as color of #RGBa 186 PASS text-emphasis-color supports animating as color of rgba() 187 PASS text-emphasis-color supports animating as color of hsla() 188 188 PASS text-emphasis-position (type: discrete) has testInterpolation function 189 189 PASS text-emphasis-position uses discrete animation when animating between "over" and "under left" with linear easing -
trunk/Source/WebCore/ChangeLog
r290886 r290887 1 2022-03-07 Antoine Quint <graouts@webkit.org> 2 3 [web-animations] text-emphasis-color should support non-discrete animations 4 https://bugs.webkit.org/show_bug.cgi?id=237518 5 6 Reviewed by Antti Koivisto. 7 8 This property was mistakenly added as a discrete property when it was unprefixed. 9 10 * animation/CSSPropertyAnimation.cpp: 11 (WebCore::CSSPropertyAnimationWrapperMap::CSSPropertyAnimationWrapperMap): 12 1 13 2022-03-07 Antoine Quint <graouts@webkit.org> 2 14 -
trunk/Source/WebCore/animation/CSSPropertyAnimation.cpp
r290886 r290887 2762 2762 new DiscretePropertyWrapper<OptionSet<TextDecorationLine>>(CSSPropertyTextDecorationLine, &RenderStyle::textDecoration, &RenderStyle::setTextDecoration), 2763 2763 new DiscretePropertyWrapper<TextDecorationStyle>(CSSPropertyTextDecorationStyle, &RenderStyle::textDecorationStyle, &RenderStyle::setTextDecorationStyle), 2764 new DiscretePropertyWrapper<const Color&>(CSSPropertyTextEmphasisColor, &RenderStyle::textEmphasisColor, &RenderStyle::setTextEmphasisColor),2764 new PropertyWrapperVisitedAffectedColor(CSSPropertyTextEmphasisColor, MaybeInvalidColor, &RenderStyle::textEmphasisColor, &RenderStyle::setTextEmphasisColor, &RenderStyle::visitedLinkTextEmphasisColor, &RenderStyle::setVisitedLinkTextEmphasisColor), 2765 2765 new DiscretePropertyWrapper<OptionSet<TextEmphasisPosition>>(CSSPropertyTextEmphasisPosition, &RenderStyle::textEmphasisPosition, &RenderStyle::setTextEmphasisPosition), 2766 2766 new DiscretePropertyWrapper<TextOverflow>(CSSPropertyTextOverflow, &RenderStyle::textOverflow, &RenderStyle::setTextOverflow),
Note: See TracChangeset
for help on using the changeset viewer.