Skip to content

Conversation

@nt1m
Copy link
Contributor

@nt1m nt1m commented Jan 25, 2026

Fixes #3378

This has been supported since Safari 9, see https://caniuse.com/css-filter-function.

@github-actions github-actions bot added the feature definition Creating or defining new features or groups of features. label Jan 25, 2026
@nt1m nt1m force-pushed the eng/filter-function branch from bb52dfc to 42b5da1 Compare January 25, 2026 19:28
@nt1m
Copy link
Contributor Author

nt1m commented Jan 25, 2026

@captainbrosset @foolip Could you please take a look?

@captainbrosset
Copy link
Contributor

compat data are not currently available, but will be linked once they are.

@nt1m do you know if there's already a PR opened on BCD to add the required keys for this feature? If there isn't one, would you or someone on your end be able to create one?
We can of course merge the new feature without BCD keys in the meantime, but if a BCD PR already exists (or is quick to create), it would be better to wait for it. This way, less risks of forgetting to update the feature once the keys are available.

@captainbrosset captainbrosset requested a review from ddbeck January 26, 2026 08:23
@nt1m
Copy link
Contributor Author

nt1m commented Jan 26, 2026

I created a BCD PR here: mdn/browser-compat-data#28916 . I was reluctant to create one until some MDN docs were written, but it looks like you can just create one independently!

@getify getify mentioned this pull request Jan 29, 2026
@nt1m nt1m force-pushed the eng/filter-function branch 2 times, most recently from e4ddfc0 to b126486 Compare January 30, 2026 18:02
@nt1m nt1m requested a review from captainbrosset January 30, 2026 18:02
@nt1m nt1m force-pushed the eng/filter-function branch from b126486 to 7f872b9 Compare January 30, 2026 18:04
@captainbrosset
Copy link
Contributor

Ah, you'll need double quotes around the descriptions. Otherwise the : characters break the yaml syntax.

@captainbrosset
Copy link
Contributor

captainbrosset commented Jan 30, 2026

We'll have to wait for the BCD key to be released and then bump our dependency to BCD on the repo for this to build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature definition Creating or defining new features or groups of features.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CSS filter() function

3 participants