Bug 240904

Summary: CSS filter interpolation incorrect when a function is missing
Product: WebKit Reporter: Martin <martiminchev>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: graouts, mmaxfield, sabouhallawa, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 15   
Hardware: All   
OS: All   
Attachments:
Description Flags
bug demo none

Description Martin 2022-05-25 03:34:24 PDT
Created attachment 459751 [details]
bug demo

According to https://developer.mozilla.org/en-US/docs/Web/CSS/filter#interpolation - "missing equivalent filter functions from the longer list are added to the end of the shorter list using their initial values."

In the attached demo, however, Webkit does not play the transition and directly jumps to the final state when hovering.

Firefox and Chrome correctly fill in the missing filter function with its initial value.
Comment 1 Radar WebKit Bug Importer 2022-06-01 03:35:12 PDT
<rdar://problem/94212054>