Safari 18.4 added <input type=color> with alpha/colorspace#27260
Merged
Safari 18.4 added <input type=color> with alpha/colorspace#27260
<input type=color> with alpha/colorspace#27260Conversation
Member
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
Contributor
|
Tip: Review these changes grouped by change (recommended for most PRs), or grouped by feature (for large PRs). |
caugner
reviewed
Jul 8, 2025
Comment on lines
+51
to
+53
| "accepts_css_colors": { | ||
| "__compat": { | ||
| "description": "Accepts any CSS `<color>` value", |
Contributor
There was a problem hiding this comment.
What does "Accepts any CSS <color> value" mean here?
Isn't this feature about whether the alpha and colorspace attributes are managed?
Suggested change
| "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`", |
Member
Author
There was a problem hiding this comment.
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.
<input type=color>
Co-authored-by: Claas Augner <495429+caugner@users.noreply.github.com>
<input type=color><input type=color> with alpha/colorspace
caugner
approved these changes
Jul 8, 2025
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.