Bug 265160

Summary: REGRESSION(270890@main): Animation doesn't trigger when custom property initial value matches the first frame
Product: WebKit Reporter: Josh Collinsworth <joshuajcollinsworth>
Component: CSSAssignee: Antti Koivisto <koivisto>
Status: RESOLVED FIXED    
Severity: Minor CC: graouts, koivisto, rik, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Mac (Apple Silicon)   
OS: macOS 14   
See Also: https://github.com/web-platform-tests/wpt/pull/43497
Attachments:
Description Flags
The animation bug shown on my actual project code; you can see the radius change none

Description Josh Collinsworth 2023-11-20 14:20:02 PST
Created attachment 468691 [details]
The animation bug shown on my actual project code; you can see the radius change

Possible duplicate? https://bugs.webkit.org/show_bug.cgi?id=200702

I have an anchor that animates on hover. During the animation, the anchor's border radius goes back to 0 temporarily, and then reverts to the proper style once the animation is finished.

CodePen reproduction: https://codepen.io/collinsworth/pen/JjxLYzg/cbe544b1fb04cd6ff7df470151239465
Comment 1 Radar WebKit Bug Importer 2023-11-21 14:08:35 PST
<rdar://problem/118697176>
Comment 2 Antoine Quint 2023-11-22 04:21:48 PST
The CodePen behaves the same in Safari Technology Preview 138 and Chrome. Firefox however does not show any background on hover and I can see the reported issue in Safari on the macOS Sonoma 14.0. This got fixed since that release, as shown by Safari Technology Preview 138. Please reopen if that is not your experience.
Comment 3 Simon Fraser (smfr) 2023-11-27 10:31:18 PST
This still looks broken in recent Safari builds to me.
Comment 4 Antoine Quint 2023-11-27 11:03:16 PST
Looks like this was fixed… and then broken again!
Comment 5 Antoine Quint 2023-11-27 11:17:40 PST
I'll find out when it progressed originally, but this regressed recently with 270890@main. Let's keep this bug open to track this particular issue.
Comment 6 Antoine Quint 2023-11-27 12:19:42 PST
This originally progressed with 267321@main until the 270890@main regression.
Comment 7 Antti Koivisto 2023-11-29 02:11:59 PST
Pull request: https://github.com/WebKit/WebKit/pull/21047
Comment 8 EWS 2023-11-29 04:01:26 PST
Committed 271268@main (7687d03911da): <https://commits.webkit.org/271268@main>

Reviewed commits have been landed. Closing PR #21047 and removing active labels.
Comment 9 Antti Koivisto 2023-12-04 04:01:27 PST
Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/43497