Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions api/HTMLInputElement.json
Original file line number Diff line number Diff line change
Expand Up @@ -431,12 +431,14 @@
],
"support": {
"chrome": {
"version_added": false
"version_added": false,
"impl_url": "https://crbug.com/368059226"
},
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": false
"version_added": false,
"impl_url": "https://bugzil.la/1919718"
},
"firefox_android": "mirror",
"oculus": "mirror",
Expand Down
10 changes: 6 additions & 4 deletions html/elements/input.json
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": "preview"
"version_added": "18.4"
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
Expand Down Expand Up @@ -345,19 +345,21 @@
],
"support": {
"chrome": {
"version_added": false
"version_added": false,
"impl_url": "https://crbug.com/368059226"
},
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": false
"version_added": false,
"impl_url": "https://bugzil.la/1919718"
},
"firefox_android": "mirror",
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": "preview"
"version_added": "18.4"
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
Expand Down
39 changes: 39 additions & 0 deletions html/elements/input/color.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,45 @@
"standard_track": true,
"deprecated": false
}
},
"accepts_css_colors": {
"__compat": {
"description": "Accepts any CSS `<color>` value",
Comment on lines +51 to +53
Copy link
Contributor

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?

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`",

Copy link
Member Author

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 alpha and colorspace attributes 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.

Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks for clarifying.

"spec_url": "https://html.spec.whatwg.org/multipage/input.html#color-state-(type=color)",
"tags": [
"web-features:input-color"
],
"support": {
"chrome": {
"version_added": false,
"impl_url": "https://crbug.com/368059226"
},
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": false,
"impl_url": "https://bugzil.la/1919718"
},
"firefox_android": {
"version_added": false
},
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": "18.4"
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": "mirror",
"webview_ios": "mirror"
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
}
}
}
}
}
Expand Down