Skip to content

fix #4357: -webkit- prefix for mask shorthand#4358

Merged
evanw merged 2 commits intoevanw:mainfrom
BPJEnnova:main
Dec 16, 2025
Merged

fix #4357: -webkit- prefix for mask shorthand#4358
evanw merged 2 commits intoevanw:mainfrom
BPJEnnova:main

Conversation

@BPJEnnova
Copy link
Contributor

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
}

Copy link
Owner

@evanw evanw left a comment

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.

@evanw evanw merged commit c8d93a7 into evanw:main Dec 16, 2025
This was referenced Dec 17, 2025
This was referenced Feb 8, 2026
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

Successfully merging this pull request may close these issues.

2 participants