From 58716e8b9545c030a903643e34d93242059f8762 Mon Sep 17 00:00:00 2001 From: Romain Menke Date: Thu, 5 Mar 2026 18:50:05 +0100 Subject: [PATCH 1/2] css-syntax-patches-for-csstree --- package-lock.json | 19 +- .../CHANGELOG.md | 4 + .../dist/index.json | 229 +-- .../package.json | 4 +- .../patches/webref-over-csstree-atrules.json | 93 - .../webref-over-csstree-properties.json | 1717 ++--------------- .../patches/webref-over-csstree-types.json | 1443 ++------------ .../raw-data/csstree-atrules.json | 27 +- .../raw-data/csstree-properties.json | 385 ++-- .../raw-data/csstree-types.json | 296 ++- .../raw-data/webref-atrules.json | 7 + .../raw-data/webref-over-csstree-atrules.json | 58 - .../webref-over-csstree-properties.json | 776 +------- .../raw-data/webref-over-csstree-types.json | 540 +----- .../raw-data/webref-properties.json | 31 +- .../raw-data/webref-types.json | 79 +- .../scripts/generate-webref-sets.mjs | 35 +- .../tests/community/bootstrap.4.6.2.css | 1 - 18 files changed, 1011 insertions(+), 4733 deletions(-) diff --git a/package-lock.json b/package-lock.json index 2ba7cdaa80..59577c3f7b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5306,27 +5306,20 @@ "link": true }, "node_modules/css-tree": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-3.1.0.tgz", - "integrity": "sha512-0eW44TGN5SQXU1mWSkKwFstI/22X2bG1nYzZTYMAWjylYURhse752YgbE4Cx46AC+bAvI+/dYTPRk1LqSUnu6w==", + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-3.2.1.tgz", + "integrity": "sha512-X7sjQzceUhu1u7Y/ylrRZFU2FS6LRiFVp6rKLPg23y3x3c3DOKAwuXGDp+PAGjh6CSnCjYeAul8pcT8bAl+lSA==", "dev": true, "license": "MIT", "peer": true, "dependencies": { - "mdn-data": "2.12.2", - "source-map-js": "^1.0.1" + "mdn-data": "2.27.1", + "source-map-js": "^1.2.1" }, "engines": { "node": "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0" } }, - "node_modules/css-tree/node_modules/mdn-data": { - "version": "2.12.2", - "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.12.2.tgz", - "integrity": "sha512-IEn+pegP1aManZuckezWCO+XZQDplx1366JoVhTpMpBB1sPey/SbveZQUosKiKiGYjg1wH4pMlNgXbCiYgihQA==", - "dev": true, - "license": "CC0-1.0" - }, "node_modules/cssdb": { "version": "8.8.0", "resolved": "https://registry.npmjs.org/cssdb/-/cssdb-8.8.0.tgz", @@ -9726,7 +9719,7 @@ "license": "MIT-0", "devDependencies": { "@webref/css": "8.3.0", - "css-tree": "^3.1.0", + "css-tree": "^3.2.1", "postcss": "^8.4" } }, diff --git a/packages/css-syntax-patches-for-csstree/CHANGELOG.md b/packages/css-syntax-patches-for-csstree/CHANGELOG.md index e687baa20c..6e972d2a36 100644 --- a/packages/css-syntax-patches-for-csstree/CHANGELOG.md +++ b/packages/css-syntax-patches-for-csstree/CHANGELOG.md @@ -1,5 +1,9 @@ # Changes to CSS Syntax Patches For CSSTree +### Unreleased (patch) + +- Update `csstree` to [`v3.2.1`](https://github.com/csstree/csstree/releases/tag/v3.2.1) + ### 1.0.29 _March 2, 2026_ diff --git a/packages/css-syntax-patches-for-csstree/dist/index.json b/packages/css-syntax-patches-for-csstree/dist/index.json index 803324a79a..23edc98b9c 100644 --- a/packages/css-syntax-patches-for-csstree/dist/index.json +++ b/packages/css-syntax-patches-for-csstree/dist/index.json @@ -8,12 +8,6 @@ "src": "" } }, - "counter-style": { - "descriptors": { - "additive-symbols": "[ && ]#", - "pad": " && " - } - }, "font-face": { "descriptors": { "ascent-override": "[ normal | ]{1,2}", @@ -39,43 +33,21 @@ "font-display": "auto | block | swap | fallback | optional" } }, - "font-palette-values": { - "descriptors": { - "override-colors": "[ ]#" - } - }, "function": { "descriptors": { "result": "?" } - }, - "page": { - "descriptors": { - "size": "{1,2} | auto | [ || [ portrait | landscape ] ]" - } - }, - "view-transition": { - "descriptors": { - "navigation": "auto | none", - "types": "none | +" - } } }, "properties": { - "align-items": "normal | stretch | | [ ? ] | anchor-center", "align-self": "auto | ? [ normal | ] | stretch | | anchor-center", "alignment-baseline": "auto | before-edge | text-before-edge | after-edge | text-after-edge | baseline | ", "all": " | revert-rule", "anchor-name": "none | #", "anchor-scope": "none | all | #", - "animation-duration": "[ auto |