Bug 240904 - CSS filter interpolation incorrect when a function is missing
Summary: CSS filter interpolation incorrect when a function is missing
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: Safari 15
Hardware: All All
: P2 Normal
Assignee: Nobody
Keywords: InRadar
Depends on:
Reported: 2022-05-25 03:34 PDT by Martin
Modified: 2022-06-01 03:35 PDT (History)
5 users (show)

See Also:

bug demo (387 bytes, text/html)
2022-05-25 03:34 PDT, Martin
no flags Details

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