Bug 265160 - REGRESSION(270890@main): Animation doesn't trigger when custom property initial value matches the first frame
Summary: REGRESSION(270890@main): Animation doesn't trigger when custom property initi...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Mac (Apple Silicon) macOS 14
: P2 Minor
Assignee: Antti Koivisto
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-11-20 14:20 PST by Josh Collinsworth
Modified: 2023-12-04 04:01 PST (History)
5 users (show)

See Also:


Attachments
The animation bug shown on my actual project code; you can see the radius change (469.04 KB, image/gif)
2023-11-20 14:20 PST, Josh Collinsworth
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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