-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Safari 18.4 added <input type=color> with alpha/colorspace
#27260
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
Conversation
Elchi3
commented
Jul 8, 2025
- Shipped in Safari 18.4 https://developer.apple.com/documentation/safari-release-notes/safari-18_4-release-notes
- Add missing bug links
|
Tip: Review these changes grouped by change (recommended for most PRs), or grouped by feature (for large PRs). |
| "accepts_css_colors": { | ||
| "__compat": { | ||
| "description": "Accepts any CSS `<color>` value", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does "Accepts any CSS <color> value" mean here?
Isn't this feature about whether the alpha and colorspace attributes are managed?
| "accepts_css_colors": { | |
| "__compat": { | |
| "description": "Accepts any CSS `<color>` value", | |
| "accepts_alpha_and_colorspace": { | |
| "__compat": { | |
| "description": "Accepts any CSS `<color>` value with `alpha` and `colorspace`", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't this feature about whether the
alphaandcolorspaceattributes are managed?
No, see also https://chromestatus.com/feature/5099982692286464 that spells this out explicitly. The <input type=color"> element used to work only with hexadecimal values but with this change it works with any CSS color value / notation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for clarifying.
<input type=color>
Co-authored-by: Claas Augner <[email protected]>
<input type=color><input type=color> with alpha/colorspace