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: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changes to cssdb

### 8.4.0 (August 20, 2025)

- Added `color-function-display-p3-linear`
- Added `alpha-function`
- Updated `@mdn/browser-compat-data` to `6.1.4`

### 8.3.1 (June 23, 2025)

- Updated `@mdn/browser-compat-data` to `6.0.25`
Expand Down
42 changes: 41 additions & 1 deletion cssdb.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,23 @@
],
"vendors_implementations": 3
},
{
"id": "alpha-function",
"title": "`alpha()` Function",
"description": "Relative alpha colors",
"specification": "https://drafts.csswg.org/css-color-5/#relative-alpha",
"stage": 2,
"browser_support": {},
"docs": {},
"example": "p {\n color: alpha(from red / calc(alpha * 0.5));\n}",
"polyfills": [
{
"type": "PostCSS Plugin",
"link": "https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-alpha-function"
}
],
"vendors_implementations": 0
},
{
"id": "any-link-pseudo-class",
"title": "`:any-link` Hyperlink Pseudo-Class",
Expand Down Expand Up @@ -310,6 +327,23 @@
"vendors_implementations": 3,
"web-feature": "color-function"
},
{
"id": "color-function-display-p3-linear",
"title": "The `display-p3-linear` Color Space for the `color()` Function",
"description": "The `display-p3-linear` predefined color space is the same as `display-p3` except that the transfer function is linear-light.",
"specification": "https://drafts.csswg.org/css-color-4/#predefined-display-p3-linear",
"stage": 2,
"browser_support": {},
"docs": {},
"example": "p {\n color: color(display-p3-linear 0.3081 0.014 0.0567);\n}",
"polyfills": [
{
"type": "PostCSS Plugin",
"link": "https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-color-function-display-p3-linear"
}
],
"vendors_implementations": 0
},
{
"id": "color-functional-notation",
"title": "Color Functional Notation",
Expand Down Expand Up @@ -2086,22 +2120,28 @@
"specification": "https://www.w3.org/TR/css-values-4/#sign-funcs",
"stage": 2,
"browser_support": {
"and_chr": "138",
"and_ff": "118",
"android": "138",
"chrome": "138",
"edge": "138",
"firefox": "118",
"ios_saf": "15.4",
"op_mob": "91",
"safari": "15.4"
},
"docs": {
"mdn": "https://developer.mozilla.org/en-US/docs/Web/CSS/sign"
},
"example": "div {\n order: abs(-10);\n order: sign(-10);\n}",
"interoperable_at": 1750896000,
"polyfills": [
{
"type": "PostCSS Plugin",
"link": "https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-sign-functions"
}
],
"vendors_implementations": 2
"vendors_implementations": 3
},
{
"id": "src-function",
Expand Down
42 changes: 41 additions & 1 deletion cssdb.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,23 @@ export default [
],
"vendors_implementations": 3
},
{
"id": "alpha-function",
"title": "`alpha()` Function",
"description": "Relative alpha colors",
"specification": "https://drafts.csswg.org/css-color-5/#relative-alpha",
"stage": 2,
"browser_support": {},
"docs": {},
"example": "p {\n color: alpha(from red / calc(alpha * 0.5));\n}",
"polyfills": [
{
"type": "PostCSS Plugin",
"link": "https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-alpha-function"
}
],
"vendors_implementations": 0
},
{
"id": "any-link-pseudo-class",
"title": "`:any-link` Hyperlink Pseudo-Class",
Expand Down Expand Up @@ -310,6 +327,23 @@ export default [
"vendors_implementations": 3,
"web-feature": "color-function"
},
{
"id": "color-function-display-p3-linear",
"title": "The `display-p3-linear` Color Space for the `color()` Function",
"description": "The `display-p3-linear` predefined color space is the same as `display-p3` except that the transfer function is linear-light.",
"specification": "https://drafts.csswg.org/css-color-4/#predefined-display-p3-linear",
"stage": 2,
"browser_support": {},
"docs": {},
"example": "p {\n color: color(display-p3-linear 0.3081 0.014 0.0567);\n}",
"polyfills": [
{
"type": "PostCSS Plugin",
"link": "https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-color-function-display-p3-linear"
}
],
"vendors_implementations": 0
},
{
"id": "color-functional-notation",
"title": "Color Functional Notation",
Expand Down Expand Up @@ -2086,22 +2120,28 @@ export default [
"specification": "https://www.w3.org/TR/css-values-4/#sign-funcs",
"stage": 2,
"browser_support": {
"and_chr": "138",
"and_ff": "118",
"android": "138",
"chrome": "138",
"edge": "138",
"firefox": "118",
"ios_saf": "15.4",
"op_mob": "91",
"safari": "15.4"
},
"docs": {
"mdn": "https://developer.mozilla.org/en-US/docs/Web/CSS/sign"
},
"example": "div {\n order: abs(-10);\n order: sign(-10);\n}",
"interoperable_at": 1750896000,
"polyfills": [
{
"type": "PostCSS Plugin",
"link": "https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-sign-functions"
}
],
"vendors_implementations": 2
"vendors_implementations": 3
},
{
"id": "src-function",
Expand Down
33 changes: 33 additions & 0 deletions cssdb.settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,22 @@
}
]
},
{
"id": "alpha-function",
"title": "`alpha()` Function",
"description": "Relative alpha colors",
"specification": "https://drafts.csswg.org/css-color-5/#relative-alpha",
"stage": 2,
"browser_support": {},
"docs": {},
"example": "p {\n color: alpha(from red / calc(alpha * 0.5));\n}",
"polyfills": [
{
"type": "PostCSS Plugin",
"link": "https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-alpha-function"
}
]
},
{
"id": "any-link-pseudo-class",
"title": "`:any-link` Hyperlink Pseudo-Class",
Expand Down Expand Up @@ -201,6 +217,23 @@
}
]
},
{
"id": "color-function-display-p3-linear",
"title": "The `display-p3-linear` Color Space for the `color()` Function",
"description": "The `display-p3-linear` predefined color space is the same as `display-p3` except that the transfer function is linear-light.",
"specification": "https://drafts.csswg.org/css-color-4/#predefined-display-p3-linear",
"stage": 2,
"browser_support": {},
"docs": {},
"example": "p {\n color: color(display-p3-linear 0.3081 0.014 0.0567);\n}",
"mdn_path": [],
"polyfills": [
{
"type": "PostCSS Plugin",
"link": "https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-color-function-display-p3-linear"
}
]
},
{
"id": "color-functional-notation",
"title": "Color Functional Notation",
Expand Down
Loading