Changeset 290897 in webkit
- Timestamp:
- Mar 7, 2022, 10:18:39 AM (5 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
-
LayoutTests/imported/w3c/ChangeLog (modified) (1 diff)
-
LayoutTests/imported/w3c/web-platform-tests/web-animations/responsive/to-color-change-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
r290895 r290897 1 2022-03-07 Antoine Quint <graouts@webkit.org> 2 3 Transition on text-decoration-color from currentColor jumps 4 https://bugs.webkit.org/show_bug.cgi?id=236992 5 <rdar://problem/89382835> 6 7 Reviewed by Antti Koivisto. 8 9 * web-platform-tests/web-animations/responsive/to-color-change-expected.txt: 10 1 11 2022-03-07 Antoine Quint <graouts@webkit.org> 2 12 -
trunk/LayoutTests/imported/w3c/web-platform-tests/web-animations/responsive/to-color-change-expected.txt
r287924 r290897 7 7 PASS Outline color responsive to currentColor changes 8 8 FAIL Stroke color responsive to currentColor changes assert_equals: expected "rgb(0, 34, 102)" but got "none" 9 FAIL Text decoration color responsive to currentColor changes assert_equals: expected "rgb(0, 34, 102)" but got "rgba(0, 68, 0, 0.5)" 9 PASS Text decoration color responsive to currentColor changes 10 10 FAIL Color responsive to parent currentColor changes assert_equals: expected "rgb(34, 51, 34)" but got "rgb(0, 51, 51)" 11 11 FAIL Color responsive to repeated parent currentColor changes assert_equals: expected "rgb(102, 17, 51)" but got "rgb(0, 17, 153)" -
trunk/Source/WebCore/ChangeLog
r290895 r290897 1 2022-03-07 Antoine Quint <graouts@webkit.org> 2 3 Transition on text-decoration-color from currentColor jumps 4 https://bugs.webkit.org/show_bug.cgi?id=236992 5 <rdar://problem/89382835> 6 7 Reviewed by Antti Koivisto. 8 9 We need to use the MaybeInvalidColor tag to identify that this property can work with `currentColor`. 10 11 * animation/CSSPropertyAnimation.cpp: 12 (WebCore::CSSPropertyAnimationWrapperMap::CSSPropertyAnimationWrapperMap): 13 1 14 2022-03-07 Antoine Quint <graouts@webkit.org> 2 15 -
trunk/Source/WebCore/animation/CSSPropertyAnimation.cpp
r290895 r290897 2697 2697 new PropertyWrapper<TextDecorationThickness>(CSSPropertyTextDecorationThickness, &RenderStyle::textDecorationThickness, &RenderStyle::setTextDecorationThickness), 2698 2698 new PropertyWrapper<TextUnderlineOffset>(CSSPropertyTextUnderlineOffset, &RenderStyle::textUnderlineOffset, &RenderStyle::setTextUnderlineOffset), 2699 new PropertyWrapperVisitedAffectedColor(CSSPropertyTextDecorationColor, &RenderStyle::textDecorationColor, &RenderStyle::setTextDecorationColor, &RenderStyle::visitedLinkTextDecorationColor, &RenderStyle::setVisitedLinkTextDecorationColor),2699 new PropertyWrapperVisitedAffectedColor(CSSPropertyTextDecorationColor, MaybeInvalidColor, &RenderStyle::textDecorationColor, &RenderStyle::setTextDecorationColor, &RenderStyle::visitedLinkTextDecorationColor, &RenderStyle::setVisitedLinkTextDecorationColor), 2700 2700 2701 2701 new LengthPropertyWrapper(CSSPropertyFlexBasis, &RenderStyle::flexBasis, &RenderStyle::setFlexBasis, { LengthPropertyWrapper::Flags::IsLengthPercentage, LengthPropertyWrapper::Flags::NegativeLengthsAreInvalid }),
Note:
See TracChangeset
for help on using the changeset viewer.