Skip to content
New issue

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

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

Already on GitHub? # to your account

feat(css): add legacy -webkit-user-select property #864

Merged
merged 1 commit into from
Dec 30, 2024

Conversation

skyclouds2001
Copy link
Contributor

Description

the -webkit-user-select property is a vendor-prefixed alias for user-select property, note that per bcd, the vendor-prefixed alias is supported in all major browsers, and Safari only support the vendor-prefixed alias, so it is worth to add it back

also, remove the not supported contain value from user-select property syntax

reported in frenic/csstype#191

Motivation

Additional details

https://developer.mozilla.org/en-US/docs/Web/CSS/user-select
https://drafts.csswg.org/css-ui/#propdef-user-select

Related issues and pull requests

@skyclouds2001 skyclouds2001 marked this pull request as ready for review December 29, 2024 03:47
@skyclouds2001 skyclouds2001 requested a review from a team as a code owner December 29, 2024 03:47
@skyclouds2001 skyclouds2001 requested review from bsmth and removed request for a team December 29, 2024 03:47
Copy link
Member

@bsmth bsmth left a comment

Choose a reason for hiding this comment

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

Thank you! It would be nice to be able to alias / mirror values instead of duplicating, but that's for another day 👍🏻

@bsmth bsmth merged commit 37b9934 into mdn:main Dec 30, 2024
3 checks passed
@skyclouds2001 skyclouds2001 deleted the -webkit-user-select branch December 30, 2024 16:04
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants