Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 969e1262811073faa52aa31cbceea18ef64183d8
https://github.com/WebKit/WebKit/commit/969e1262811073faa52aa31cbceea18ef64183d8
Author: Antti Koivisto <[email protected]>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
A LayoutTests/transitions/svg-visited-fill-expected.html
A LayoutTests/transitions/svg-visited-fill.html
M Source/WebCore/animation/CSSPropertyAnimation.cpp
M Source/WebCore/rendering/style/RenderStyle.h
M Source/WebCore/rendering/style/SVGRenderStyle.h
Log Message:
-----------
CSS transition on SVG inside href fails when link already visited
https://bugs.webkit.org/show_bug.cgi?id=267515
rdar://121015467
Reviewed by Antoine Quint.
* LayoutTests/transitions/svg-visited-fill-expected.html: Added.
* LayoutTests/transitions/svg-visited-fill.html: Added.
* Source/WebCore/animation/CSSPropertyAnimation.cpp:
(WebCore::PropertyWrapperVisitedAffectedSVGPaint::PropertyWrapperVisitedAffectedSVGPaint):
(WebCore::CSSPropertyAnimationWrapperMap::CSSPropertyAnimationWrapperMap):
Add an animation property wrapper for visited-affected fill/stroke similar to
other color properties and use it.
* Source/WebCore/rendering/style/RenderStyle.h:
* Source/WebCore/rendering/style/SVGRenderStyle.h:
(WebCore::RenderStyle::fillPaintColor const):
(WebCore::RenderStyle::visitedFillPaintColor const):
(WebCore::RenderStyle::visitedFillPaintType const):
(WebCore::RenderStyle::setFillPaintColor):
(WebCore::RenderStyle::setVisitedFillPaintColor):
(WebCore::RenderStyle::setStrokePaintColor):
(WebCore::RenderStyle::setVisitedStrokePaintColor):
(WebCore::RenderStyle::strokePaintColor const):
(WebCore::RenderStyle::visitedStrokePaintColor const):
(WebCore::RenderStyle::visitedStrokePaintType const):
Expose some helpers for the property wrapper.
Canonical link: https://commits.webkit.org/279807@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes