Skip to content

Commit 94dbaa1

Browse files
dletoreycaugner
andauthored
Add display-p3-linear color space to CSS <color> type (mdn#28479)
* added display-p3-linear to color * set experimental to false * updated edge to mirror * fixed the edge support * updated opera-android to use mirror * moved display-p3-linear into color() function * moved to be in alphabetical order * Update color.json Co-authored-by: Claas Augner <[email protected]> * Update color.json Co-authored-by: Claas Augner <[email protected]> * Update css/types/color.json Co-authored-by: Claas Augner <[email protected]> * fixed issue with opera * switched back opera to false as still not supported * made opera mirror --------- Co-authored-by: Claas Augner <[email protected]>
1 parent f90768d commit 94dbaa1

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

css/types/color.json

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,44 @@
8888
"deprecated": false
8989
}
9090
},
91+
"colorSpace_parameter_accepts_display-p3-linear_value": {
92+
"__compat": {
93+
"description": "`colorSpace` parameter accepts `display-p3-linear` value",
94+
"spec_url": "https://drafts.csswg.org/css-color-4/#predefined-display-p3-linear",
95+
"tags": [
96+
"web-features:color"
97+
],
98+
"support": {
99+
"chrome": {
100+
"version_added": "144"
101+
},
102+
"chrome_android": "mirror",
103+
"edge": "mirror",
104+
"firefox": {
105+
"version_added": "146"
106+
},
107+
"firefox_android": "mirror",
108+
"ie": {
109+
"version_added": false
110+
},
111+
"oculus": "mirror",
112+
"opera": "mirror",
113+
"opera_android": "mirror",
114+
"safari": {
115+
"version_added": "26.2"
116+
},
117+
"safari_ios": "mirror",
118+
"samsunginternet_android": "mirror",
119+
"webview_android": "mirror",
120+
"webview_ios": "mirror"
121+
},
122+
"status": {
123+
"experimental": false,
124+
"standard_track": true,
125+
"deprecated": false
126+
}
127+
}
128+
},
91129
"mixed_type_parameters": {
92130
"__compat": {
93131
"description": "Mix `<percentage>` and `<number>` in parameters",

0 commit comments

Comments
 (0)