Skip to content
Open
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
40 changes: 40 additions & 0 deletions css/types/color.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,46 @@
"deprecated": false
}
},
"display-p3-linear": {
"__compat": {
"description": "The `display-p3-linear` color space does not use gamma correction and has a higher precision that `display-p3`",
Comment on lines +91 to +93
Copy link
Contributor

Choose a reason for hiding this comment

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

Although this field is called "description", it is essentially a title, so it should not contain these notes.

Suggested change
"display-p3-linear": {
"__compat": {
"description": "The `display-p3-linear` color space does not use gamma correction and has a higher precision that `display-p3`",
"colorSpace_parameter_accepts_display-p3-linear_value": {
"__compat": {
"description": "`colorSpace` parameter accepts `display-p3-linear` value",

"spec_url": "https://drafts.csswg.org/css-color-4/#predefined-display-p3-linear",
"tags": [
"web-features:color"
],
"support": {
"chrome": {
"version_added": "preview"
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

Based on previous comment

Suggested change
"version_added": "preview"
"version_added": "144"

},
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": "146"
},
"firefox_android": "mirror",
"ie": {
"version_added": false
},
"oculus": "mirror",
"opera": {
"version_added": false
},
"opera_android": "mirror",
"safari": {
"version_added": "preview"
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

Based on previous comment

Suggested change
"version_added": "preview"
"version_added": "26.2"

},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": "mirror",
"webview_ios": "mirror"
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
}
}
},
"mixed_type_parameters": {
"__compat": {
"description": "Mix `<percentage>` and `<number>` in parameters",
Expand Down