Bug 236992

Summary: Transition on text-decoration-color from currentColor jumps
Product: WebKit Reporter: Dennis Morhardt <info>
Component: AnimationsAssignee: Antoine Quint <graouts>
Status: RESOLVED FIXED    
Severity: Normal CC: dino, graouts, graouts, koivisto, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar, WebExposed, WPTImpact
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Dennis Morhardt
Reported 2022-02-21 13:15:21 PST
When transitioning text-decoration-color from currentColor to a color the animations starts from an transparent color instead of the current color of the element. Testcase: https://jsfiddle.net/5o2q9yu6/15/
Attachments
Patch (4.53 KB, patch)
2022-03-07 07:16 PST, Antoine Quint
no flags
Radar WebKit Bug Importer
Comment 1 2022-02-23 15:43:00 PST
Antoine Quint
Comment 2 2022-03-07 07:16:36 PST
Antti Koivisto
Comment 3 2022-03-07 07:23:57 PST
Comment on attachment 453980 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=453980&action=review > Source/WebCore/ChangeLog:9 > + We need to use the MaybeInvalidColor tag to identify that this property can work with `currentColor`. Maybe the tag should have different name?
EWS
Comment 4 2022-03-07 10:19:49 PST
Committed r290897 (248128@main): <https://commits.webkit.org/248128@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 453980 [details].
Note You need to log in before you can comment on or make changes to this bug.