Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSS mask-composite is not being vendored prefixed #3493

Closed
alan-agius4 opened this issue Nov 15, 2023 · 2 comments
Closed

CSS mask-composite is not being vendored prefixed #3493

alan-agius4 opened this issue Nov 15, 2023 · 2 comments

Comments

@alan-agius4
Copy link

The mask-composite CSS property is not being vendored prefixed.

Repro: https://esbuild.github.io/try/#dAAwLjE5LjUAewogIGxvYWRlcjogJ2NzcycsCiAgdGFyZ2V0OiBbJ2Nocm9tZTEyMiddCn0AKiB7Cm1hc2staW1hZ2U6IHJldmVydDsKbWFzay1jb21wb3NpdGU6IGV4Y2x1ZGU7Cn0

https://caniuse.com/?search=mask-composite

Esbuild version: 0.19.5

@alan-agius4 alan-agius4 closed this as not planned Won't fix, can't repro, duplicate, stale Nov 15, 2023
@alan-agius4 alan-agius4 reopened this Nov 15, 2023
@evanw
Copy link
Owner

evanw commented Nov 15, 2023

The mapping that you're supposed to do for this seems to be a little more complex than just a vendor prefix. From some initial research it looks like the following additional rewrites might be needed:

  • mask-composite: add => -webkit-mask-composite: source-over
  • mask-composite: subtract => -webkit-mask-composite: source-out
  • mask-composite: intersect => -webkit-mask-composite: source-in
  • mask-composite: exclude => -webkit-mask-composite: xor

I'm not familiar with this CSS property though.

@alan-agius4
Copy link
Author

Yes, you are absolutely right, it’s far more examples than just adding a prefix.

@evanw evanw closed this as completed in 478807e Nov 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants