fix #4357: -webkit- prefix for mask shorthand by BPJEnnova · Pull Request #4358 · evanw/esbuild (original) (raw)

Merged

evanw

merged 2 commits into

Dec 16, 2025

Conversation

@BPJEnnova

Added CSS vendor prefix (-webkit) for the mask shorthand property (#4357).

/* Original code */ main { mask: url(x.png) center/5rem no-repeat }

/* Old output */ main { mask: url(x.png) center/5rem no-repeat }

/* New output */ main { -webkit-mask: url(x.png) center/5rem no-repeat mask: url(x.png) center/5rem no-repeat }

@BPJEnnova

@evanw

evanw

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Thanks for the PR.

This was referenced

Dec 17, 2025

This was referenced

Feb 8, 2026

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})

2 participants

@BPJEnnova @evanw