Skip to content

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

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

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

Conversation

@BPJEnnova

Copy link
Copy Markdown
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
}

@evanw evanw left a comment

Copy link
Copy Markdown
Owner

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

2 participants