Skip to content

-webkit- prefix removed from backdrop-filter even though Safari needs it #537

@schuetzm

Description

@schuetzm

Safari doesn't support unprefixed backdrop-filter:
https://caniuse.com/css-backdrop-filter

Unfortunately, LightningCSS removes the necessary -webkit- prefix when both the prefixed and the normal version are used:
Playground

Funnily enough, if there's only an unprefixed backdrop-filter, it outputs both the prefixed and the unprefixed version:
Playground

I would expect both inputs to result in the same output including both the prefixed and unprefixed declaration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions