Skip to content

Commit

Permalink
Added compat info for lab(), lch(), color()
Browse files Browse the repository at this point in the history
I used `"TP"` for features that are in Safari TP and have not yet shipped. I also asked [here](mdn#2991 (comment)).
Note that Safari 10 only supported color(display-p3). The other predefined color spaces were added recently and are still in TP. We can iterate on breaking this down in future PRs.
  • Loading branch information
LeaVerou authored May 28, 2021
1 parent 176d4ed commit 4f0f8a5
Showing 1 changed file with 151 additions and 1 deletion.
152 changes: 151 additions & 1 deletion css/types/color.json
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@
"version_added": false
},
"safari": {
"version_added": false
"version_added": "TP"
},
"safari_ios": {
"version_added": false
Expand Down Expand Up @@ -410,6 +410,106 @@
}
}
},
"lab": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/color_value/lab()",
"spec_url": "https://drafts.csswg.org/css-color-4/#specifying-lab-lch",
"description": "Lab color values (<code>lab()</code>)",
"support": {
"chrome": {
"version_added": false
},
"chrome_android": {
"version_added": false
},
"edge": {
"version_added": false
},
"firefox": {
"version_added": false
},
"firefox_android": {
"version_added": false
},
"ie": {
"version_added": false
},
"opera": {
"version_added": false
},
"opera_android": {
"version_added": false
},
"safari": {
"version_added": "TP"
},
"safari_ios": {
"version_added": false
},
"samsunginternet_android": {
"version_added": false
},
"webview_android": {
"version_added": false
}
},
"status": {
"experimental": true,
"standard_track": true,
"deprecated": false
}
}
},
"lch": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/color_value/lch()",
"spec_url": "https://drafts.csswg.org/css-color-4/#specifying-lab-lch",
"description": "LCH color values (<code>lch()</code>)",
"support": {
"chrome": {
"version_added": false
},
"chrome_android": {
"version_added": false
},
"edge": {
"version_added": false
},
"firefox": {
"version_added": false
},
"firefox_android": {
"version_added": false
},
"ie": {
"version_added": false
},
"opera": {
"version_added": false
},
"opera_android": {
"version_added": false
},
"safari": {
"version_added": "TP"
},
"safari_ios": {
"version_added": false
},
"samsunginternet_android": {
"version_added": false
},
"webview_android": {
"version_added": false
}
},
"status": {
"experimental": true,
"standard_track": true,
"deprecated": false
}
}
},
"keyword_color_values": {
"__compat": {
"description": "Keyword color values",
Expand Down Expand Up @@ -460,6 +560,56 @@
}
}
},
"color_function": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/color_value/color()",
"spec_url": "https://drafts.csswg.org/css-color-4/#icc-colors",
"description": "<code>color()</code>",
"support": {
"chrome": {
"version_added": false
},
"chrome_android": {
"version_added": false
},
"edge": {
"version_added": false
},
"firefox": {
"version_added": false
},
"firefox_android": {
"version_added": false
},
"ie": {
"version_added": false
},
"opera": {
"version_added": false
},
"opera_android": {
"version_added": false
},
"safari": {
"version_added": "10.1"
},
"safari_ios": {
"version_added": "10"
},
"samsunginternet_android": {
"version_added": false
},
"webview_android": {
"version_added": false
}
},
"status": {
"experimental": true,
"standard_track": true,
"deprecated": false
}
}
},
"rebeccapurple": {
"__compat": {
"description": "<code>rebeccapurple</code>",
Expand Down

0 comments on commit 4f0f8a5

Please sign in to comment.