Skip to content

Commit cdb3cc0

Browse files
Add color-function-display-p3-linear and alpha-function (#465)
* Bump the all-dependencies group across 1 directory with 5 updates Bumps the all-dependencies group with 5 updates in the / directory: | Package | From | To | | --- | --- | --- | | [@mdn/browser-compat-data](https://github.com/mdn/browser-compat-data) | `6.0.33` | `6.1.1` | | [browserslist](https://github.com/browserslist/browserslist) | `4.25.1` | `4.25.2` | | [stylelint](https://github.com/stylelint/stylelint) | `16.22.0` | `16.23.1` | | [stylelint-config-standard](https://github.com/stylelint/stylelint-config-standard) | `38.0.0` | `39.0.0` | | [web-features](https://github.com/web-platform-dx/web-features/tree/HEAD/packages/web-features) | `2.41.2` | `2.43.1` | Updates `@mdn/browser-compat-data` from 6.0.33 to 6.1.1 - [Release notes](https://github.com/mdn/browser-compat-data/releases) - [Changelog](https://github.com/mdn/browser-compat-data/blob/main/RELEASE_NOTES.md) - [Commits](mdn/browser-compat-data@v6.0.33...v6.1.1) Updates `browserslist` from 4.25.1 to 4.25.2 - [Release notes](https://github.com/browserslist/browserslist/releases) - [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md) - [Commits](browserslist/browserslist@4.25.1...4.25.2) Updates `stylelint` from 16.22.0 to 16.23.1 - [Release notes](https://github.com/stylelint/stylelint/releases) - [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md) - [Commits](stylelint/stylelint@16.22.0...16.23.1) Updates `stylelint-config-standard` from 38.0.0 to 39.0.0 - [Release notes](https://github.com/stylelint/stylelint-config-standard/releases) - [Changelog](https://github.com/stylelint/stylelint-config-standard/blob/main/CHANGELOG.md) - [Commits](stylelint/stylelint-config-standard@38.0.0...39.0.0) Updates `web-features` from 2.41.2 to 2.43.1 - [Release notes](https://github.com/web-platform-dx/web-features/releases) - [Commits](https://github.com/web-platform-dx/web-features/commits/v2.43.1/packages/web-features) --- updated-dependencies: - dependency-name: "@mdn/browser-compat-data" dependency-version: 6.1.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: all-dependencies - dependency-name: browserslist dependency-version: 4.25.2 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all-dependencies - dependency-name: stylelint dependency-version: 16.23.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: all-dependencies - dependency-name: stylelint-config-standard dependency-version: 39.0.0 dependency-type: direct:development update-type: version-update:semver-major dependency-group: all-dependencies - dependency-name: web-features dependency-version: 2.43.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: all-dependencies ... Signed-off-by: dependabot[bot] <[email protected]> * Added: color-function-display-p3-linear * Add alpha-function --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 1261981 commit cdb3cc0

File tree

7 files changed

+221
-163
lines changed

7 files changed

+221
-163
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changes to cssdb
22

3+
### 8.4.0 (August 20, 2025)
4+
5+
- Added `color-function-display-p3-linear`
6+
- Added `alpha-function`
7+
- Updated `@mdn/browser-compat-data` to `6.1.4`
8+
39
### 8.3.1 (June 23, 2025)
410

511
- Updated `@mdn/browser-compat-data` to `6.0.25`

cssdb.json

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,23 @@
3333
],
3434
"vendors_implementations": 3
3535
},
36+
{
37+
"id": "alpha-function",
38+
"title": "`alpha()` Function",
39+
"description": "Relative alpha colors",
40+
"specification": "https://drafts.csswg.org/css-color-5/#relative-alpha",
41+
"stage": 2,
42+
"browser_support": {},
43+
"docs": {},
44+
"example": "p {\n color: alpha(from red / calc(alpha * 0.5));\n}",
45+
"polyfills": [
46+
{
47+
"type": "PostCSS Plugin",
48+
"link": "https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-alpha-function"
49+
}
50+
],
51+
"vendors_implementations": 0
52+
},
3653
{
3754
"id": "any-link-pseudo-class",
3855
"title": "`:any-link` Hyperlink Pseudo-Class",
@@ -310,6 +327,23 @@
310327
"vendors_implementations": 3,
311328
"web-feature": "color-function"
312329
},
330+
{
331+
"id": "color-function-display-p3-linear",
332+
"title": "The `display-p3-linear` Color Space for the `color()` Function",
333+
"description": "The `display-p3-linear` predefined color space is the same as `display-p3` except that the transfer function is linear-light.",
334+
"specification": "https://drafts.csswg.org/css-color-4/#predefined-display-p3-linear",
335+
"stage": 2,
336+
"browser_support": {},
337+
"docs": {},
338+
"example": "p {\n color: color(display-p3-linear 0.3081 0.014 0.0567);\n}",
339+
"polyfills": [
340+
{
341+
"type": "PostCSS Plugin",
342+
"link": "https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-color-function-display-p3-linear"
343+
}
344+
],
345+
"vendors_implementations": 0
346+
},
313347
{
314348
"id": "color-functional-notation",
315349
"title": "Color Functional Notation",
@@ -2086,22 +2120,28 @@
20862120
"specification": "https://www.w3.org/TR/css-values-4/#sign-funcs",
20872121
"stage": 2,
20882122
"browser_support": {
2123+
"and_chr": "138",
20892124
"and_ff": "118",
2125+
"android": "138",
2126+
"chrome": "138",
2127+
"edge": "138",
20902128
"firefox": "118",
20912129
"ios_saf": "15.4",
2130+
"op_mob": "91",
20922131
"safari": "15.4"
20932132
},
20942133
"docs": {
20952134
"mdn": "https://developer.mozilla.org/en-US/docs/Web/CSS/sign"
20962135
},
20972136
"example": "div {\n order: abs(-10);\n order: sign(-10);\n}",
2137+
"interoperable_at": 1750896000,
20982138
"polyfills": [
20992139
{
21002140
"type": "PostCSS Plugin",
21012141
"link": "https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-sign-functions"
21022142
}
21032143
],
2104-
"vendors_implementations": 2
2144+
"vendors_implementations": 3
21052145
},
21062146
{
21072147
"id": "src-function",

cssdb.mjs

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,23 @@ export default [
3333
],
3434
"vendors_implementations": 3
3535
},
36+
{
37+
"id": "alpha-function",
38+
"title": "`alpha()` Function",
39+
"description": "Relative alpha colors",
40+
"specification": "https://drafts.csswg.org/css-color-5/#relative-alpha",
41+
"stage": 2,
42+
"browser_support": {},
43+
"docs": {},
44+
"example": "p {\n color: alpha(from red / calc(alpha * 0.5));\n}",
45+
"polyfills": [
46+
{
47+
"type": "PostCSS Plugin",
48+
"link": "https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-alpha-function"
49+
}
50+
],
51+
"vendors_implementations": 0
52+
},
3653
{
3754
"id": "any-link-pseudo-class",
3855
"title": "`:any-link` Hyperlink Pseudo-Class",
@@ -310,6 +327,23 @@ export default [
310327
"vendors_implementations": 3,
311328
"web-feature": "color-function"
312329
},
330+
{
331+
"id": "color-function-display-p3-linear",
332+
"title": "The `display-p3-linear` Color Space for the `color()` Function",
333+
"description": "The `display-p3-linear` predefined color space is the same as `display-p3` except that the transfer function is linear-light.",
334+
"specification": "https://drafts.csswg.org/css-color-4/#predefined-display-p3-linear",
335+
"stage": 2,
336+
"browser_support": {},
337+
"docs": {},
338+
"example": "p {\n color: color(display-p3-linear 0.3081 0.014 0.0567);\n}",
339+
"polyfills": [
340+
{
341+
"type": "PostCSS Plugin",
342+
"link": "https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-color-function-display-p3-linear"
343+
}
344+
],
345+
"vendors_implementations": 0
346+
},
313347
{
314348
"id": "color-functional-notation",
315349
"title": "Color Functional Notation",
@@ -2086,22 +2120,28 @@ export default [
20862120
"specification": "https://www.w3.org/TR/css-values-4/#sign-funcs",
20872121
"stage": 2,
20882122
"browser_support": {
2123+
"and_chr": "138",
20892124
"and_ff": "118",
2125+
"android": "138",
2126+
"chrome": "138",
2127+
"edge": "138",
20902128
"firefox": "118",
20912129
"ios_saf": "15.4",
2130+
"op_mob": "91",
20922131
"safari": "15.4"
20932132
},
20942133
"docs": {
20952134
"mdn": "https://developer.mozilla.org/en-US/docs/Web/CSS/sign"
20962135
},
20972136
"example": "div {\n order: abs(-10);\n order: sign(-10);\n}",
2137+
"interoperable_at": 1750896000,
20982138
"polyfills": [
20992139
{
21002140
"type": "PostCSS Plugin",
21012141
"link": "https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-sign-functions"
21022142
}
21032143
],
2104-
"vendors_implementations": 2
2144+
"vendors_implementations": 3
21052145
},
21062146
{
21072147
"id": "src-function",

cssdb.settings.json

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,22 @@
1818
}
1919
]
2020
},
21+
{
22+
"id": "alpha-function",
23+
"title": "`alpha()` Function",
24+
"description": "Relative alpha colors",
25+
"specification": "https://drafts.csswg.org/css-color-5/#relative-alpha",
26+
"stage": 2,
27+
"browser_support": {},
28+
"docs": {},
29+
"example": "p {\n color: alpha(from red / calc(alpha * 0.5));\n}",
30+
"polyfills": [
31+
{
32+
"type": "PostCSS Plugin",
33+
"link": "https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-alpha-function"
34+
}
35+
]
36+
},
2137
{
2238
"id": "any-link-pseudo-class",
2339
"title": "`:any-link` Hyperlink Pseudo-Class",
@@ -201,6 +217,23 @@
201217
}
202218
]
203219
},
220+
{
221+
"id": "color-function-display-p3-linear",
222+
"title": "The `display-p3-linear` Color Space for the `color()` Function",
223+
"description": "The `display-p3-linear` predefined color space is the same as `display-p3` except that the transfer function is linear-light.",
224+
"specification": "https://drafts.csswg.org/css-color-4/#predefined-display-p3-linear",
225+
"stage": 2,
226+
"browser_support": {},
227+
"docs": {},
228+
"example": "p {\n color: color(display-p3-linear 0.3081 0.014 0.0567);\n}",
229+
"mdn_path": [],
230+
"polyfills": [
231+
{
232+
"type": "PostCSS Plugin",
233+
"link": "https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-color-function-display-p3-linear"
234+
}
235+
]
236+
},
204237
{
205238
"id": "color-functional-notation",
206239
"title": "Color Functional Notation",

0 commit comments

Comments
 (0)