Skip to content

Commit 25392c3

Browse files
committed
8.6.0
1 parent b343049 commit 25392c3

File tree

7 files changed

+129
-24
lines changed

7 files changed

+129
-24
lines changed

CHANGELOG.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
# Changes to cssdb
22

3-
### Unreleased
3+
### 8.6.0 (December 26, 2025)
44

5-
- Updated `@mdn/browser-compat-data` to `7.2.1`
5+
- Updated `@mdn/browser-compat-data` to `7.2.2`
6+
- Added `property-rule-prelude-list`
7+
- Added `syntax-descriptor-syntax-production`
68

79
### 8.5.2 (December 4, 2025)
810

cssdb.json

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2010,6 +2010,23 @@
20102010
"interoperable_at": 1579046400,
20112011
"vendors_implementations": 3
20122012
},
2013+
{
2014+
"id": "property-rule-prelude-list",
2015+
"title": "`@property` prelude list",
2016+
"description": "Declare a list of custom properties in a single `@property` rule",
2017+
"specification": "https://github.com/w3c/csswg-drafts/issues/7523#issuecomment-3683970305",
2018+
"stage": 2,
2019+
"browser_support": {},
2020+
"docs": {},
2021+
"example": "@property --color-a, --color-b {\n inherits: true;\n initial-value: black;\n syntax: \"<color>\";\n}",
2022+
"polyfills": [
2023+
{
2024+
"type": "PostCSS Plugin",
2025+
"link": "https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-property-rule-prelude-list"
2026+
}
2027+
],
2028+
"vendors_implementations": 0
2029+
},
20132030
{
20142031
"id": "random-function",
20152032
"title": "`random()` function",
@@ -2239,6 +2256,23 @@
22392256
],
22402257
"vendors_implementations": 3
22412258
},
2259+
{
2260+
"id": "syntax-descriptor-syntax-production",
2261+
"title": "`<syntax>` production in `syntax` descriptors",
2262+
"description": "Use the `<syntax>` production in `syntax` descriptors",
2263+
"specification": "https://github.com/w3c/csswg-drafts/issues/11426#issuecomment-3657538113",
2264+
"stage": 2,
2265+
"browser_support": {},
2266+
"docs": {},
2267+
"example": "@property --color {\n inherits: true;\n initial-value: black;\n syntax: <color>;\n}",
2268+
"polyfills": [
2269+
{
2270+
"type": "PostCSS Plugin",
2271+
"link": "https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-syntax-descriptor-syntax-production"
2272+
}
2273+
],
2274+
"vendors_implementations": 0
2275+
},
22422276
{
22432277
"id": "system-ui-font-family",
22442278
"title": "`system-ui` Font Family",
@@ -2298,7 +2332,7 @@
22982332
"mdn": "https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/text-decoration"
22992333
},
23002334
"example": "p {\n text-decoration: green wavy underline 2px;\n}",
2301-
"interoperable_at": 1605744000,
2335+
"interoperable_at": 1765497600,
23022336
"polyfills": [
23032337
{
23042338
"type": "PostCSS Plugin",

cssdb.mjs

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2010,6 +2010,23 @@ export default [
20102010
"interoperable_at": 1579046400,
20112011
"vendors_implementations": 3
20122012
},
2013+
{
2014+
"id": "property-rule-prelude-list",
2015+
"title": "`@property` prelude list",
2016+
"description": "Declare a list of custom properties in a single `@property` rule",
2017+
"specification": "https://github.com/w3c/csswg-drafts/issues/7523#issuecomment-3683970305",
2018+
"stage": 2,
2019+
"browser_support": {},
2020+
"docs": {},
2021+
"example": "@property --color-a, --color-b {\n inherits: true;\n initial-value: black;\n syntax: \"<color>\";\n}",
2022+
"polyfills": [
2023+
{
2024+
"type": "PostCSS Plugin",
2025+
"link": "https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-property-rule-prelude-list"
2026+
}
2027+
],
2028+
"vendors_implementations": 0
2029+
},
20132030
{
20142031
"id": "random-function",
20152032
"title": "`random()` function",
@@ -2239,6 +2256,23 @@ export default [
22392256
],
22402257
"vendors_implementations": 3
22412258
},
2259+
{
2260+
"id": "syntax-descriptor-syntax-production",
2261+
"title": "`<syntax>` production in `syntax` descriptors",
2262+
"description": "Use the `<syntax>` production in `syntax` descriptors",
2263+
"specification": "https://github.com/w3c/csswg-drafts/issues/11426#issuecomment-3657538113",
2264+
"stage": 2,
2265+
"browser_support": {},
2266+
"docs": {},
2267+
"example": "@property --color {\n inherits: true;\n initial-value: black;\n syntax: <color>;\n}",
2268+
"polyfills": [
2269+
{
2270+
"type": "PostCSS Plugin",
2271+
"link": "https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-syntax-descriptor-syntax-production"
2272+
}
2273+
],
2274+
"vendors_implementations": 0
2275+
},
22422276
{
22432277
"id": "system-ui-font-family",
22442278
"title": "`system-ui` Font Family",
@@ -2298,7 +2332,7 @@ export default [
22982332
"mdn": "https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/text-decoration"
22992333
},
23002334
"example": "p {\n text-decoration: green wavy underline 2px;\n}",
2301-
"interoperable_at": 1605744000,
2335+
"interoperable_at": 1765497600,
23022336
"polyfills": [
23032337
{
23042338
"type": "PostCSS Plugin",

cssdb.settings.json

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@
226226
"browser_support": {},
227227
"docs": {},
228228
"example": "p {\n color: color(display-p3-linear 0.3081 0.014 0.0567);\n}",
229-
"mdn_path": [],
229+
"mdn_path": ["#color.color.colorSpace_parameter_accepts_display-p3-linear_value"],
230230
"polyfills": [
231231
{
232232
"type": "PostCSS Plugin",
@@ -1483,6 +1483,23 @@
14831483
"example": ".animation {\n animation: vibrate 0.3s linear infinite both; \n}\n\n@media (prefers-reduced-motion: reduce) {\n .animation {\n animation: none;\n }\n}",
14841484
"mdn_path": "css.at-rules.media.prefers-reduced-motion"
14851485
},
1486+
{
1487+
"id": "property-rule-prelude-list",
1488+
"title": "`@property` prelude list",
1489+
"description": "Declare a list of custom properties in a single `@property` rule",
1490+
"specification": "https://github.com/w3c/csswg-drafts/issues/7523#issuecomment-3683970305",
1491+
"stage": 2,
1492+
"browser_support": {},
1493+
"docs": {},
1494+
"example": "@property --color-a, --color-b {\n inherits: true;\n initial-value: black;\n syntax: \"<color>\";\n}",
1495+
"mdn_path": [],
1496+
"polyfills": [
1497+
{
1498+
"type": "PostCSS Plugin",
1499+
"link": "https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-property-rule-prelude-list"
1500+
}
1501+
]
1502+
},
14861503
{
14871504
"id": "random-function",
14881505
"title": "`random()` function",
@@ -1651,6 +1668,23 @@
16511668
}
16521669
]
16531670
},
1671+
{
1672+
"id": "syntax-descriptor-syntax-production",
1673+
"title": "`<syntax>` production in `syntax` descriptors",
1674+
"description": "Use the `<syntax>` production in `syntax` descriptors",
1675+
"specification": "https://github.com/w3c/csswg-drafts/issues/11426#issuecomment-3657538113",
1676+
"stage": 2,
1677+
"browser_support": {},
1678+
"docs": {},
1679+
"example": "@property --color {\n inherits: true;\n initial-value: black;\n syntax: <color>;\n}",
1680+
"mdn_path": [],
1681+
"polyfills": [
1682+
{
1683+
"type": "PostCSS Plugin",
1684+
"link": "https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-syntax-descriptor-syntax-production"
1685+
}
1686+
]
1687+
},
16541688
{
16551689
"id": "system-ui-font-family",
16561690
"title": "`system-ui` Font Family",

package-lock.json

Lines changed: 8 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cssdb",
3-
"version": "8.5.2",
3+
"version": "8.6.0",
44
"type": "module",
55
"description": "A list of CSS features and their positions in the process of becoming implemented web standards",
66
"license": "MIT-0",
@@ -61,7 +61,7 @@
6161
"test:doc-links": "node tasks/check-doc-links.mjs"
6262
},
6363
"devDependencies": {
64-
"@mdn/browser-compat-data": "^7.2.1",
64+
"@mdn/browser-compat-data": "^7.2.2",
6565
"browserslist": "^4.28.1",
6666
"glob": "^13.0.0",
6767
"postcss": "^8.5.6",
@@ -70,7 +70,7 @@
7070
"semver": "^7.7.3",
7171
"stylelint": "^16.26.1",
7272
"stylelint-config-standard": "^39.0.1",
73-
"web-features": "^3.11.1"
73+
"web-features": "^3.12.0"
7474
},
7575
"stylelint": {
7676
"extends": "stylelint-config-standard",

utils/supported-browsers-from-mdn.mjs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ import { get } from './get.mjs';
44
import { MDNToBrowserlist } from './mdn-to-browserslist.mjs';
55

66
function getBrowsersFromFeature(mdnConfigPath, feature) {
7+
if (mdnConfigPath.startsWith('#')) {
8+
return {};
9+
}
10+
711
const mdnFeature = get(bcd, mdnConfigPath);
812
if (!mdnFeature) {
913
throw new Error(`Invalid mdn config path "${mdnConfigPath}" in feature "${feature.id}"`);
@@ -100,7 +104,11 @@ export default function supportedBrowsersFromMdn(path, feature) {
100104

101105
const supports = paths.map(mdnPath => getBrowsersFromFeature(mdnPath, feature));
102106

103-
Object.keys(supports[0]).forEach(browserKey => {
107+
const browserKeys = Array.from(new Set(supports.flatMap((x) => {
108+
return Object.keys(x);
109+
})));
110+
111+
browserKeys.forEach(browserKey => {
104112
const isInAllFeatures = supports.every(featureSupport => typeof featureSupport[browserKey] !== 'undefined');
105113

106114
if (isInAllFeatures) {

0 commit comments

Comments
 (0)