From 8070396ecfcd4b51b2c4fa3c2b40c5c19539b6c0 Mon Sep 17 00:00:00 2001 From: Romain Menke Date: Sat, 20 Dec 2025 13:39:20 +0100 Subject: [PATCH] css-syntax-patches-for-csstree: update dependencies --- package-lock.json | 10 +-- .../CHANGELOG.md | 4 ++ .../dist/index.json | 12 ++-- .../package.json | 2 +- .../webref-over-csstree-properties.json | 31 +-------- .../patches/webref-over-csstree-types.json | 67 +++++++++++++++++-- .../webref-over-csstree-properties.json | 10 +-- .../raw-data/webref-over-csstree-types.json | 38 +++++++++-- .../raw-data/webref-properties.json | 6 +- .../raw-data/webref-types.json | 21 ++++-- plugin-packs/postcss-preset-env/package.json | 2 +- 11 files changed, 137 insertions(+), 66 deletions(-) diff --git a/package-lock.json b/package-lock.json index deb71de02f..288515adb6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4573,9 +4573,9 @@ } }, "node_modules/@webref/css": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/@webref/css/-/css-8.1.1.tgz", - "integrity": "sha512-YkLNPAdhR5BpO38ob82PsJx0xQMFtGGOVKmJQQu7jbBdxzcShcHd3t/Uo4oLxdZm0DV8gsyRK517r1Og99MkaA==", + "version": "8.1.2", + "resolved": "https://registry.npmjs.org/@webref/css/-/css-8.1.2.tgz", + "integrity": "sha512-AJqOQWZJZ00X5zRfUOFwaMwuUHOhmhf8FDuSOaZkTlBxcBj4Pq9jwlXUPxaORtR3Mcz6aMIFZ5ebKWvflkDQgw==", "dev": true, "license": "MIT", "peerDependencies": { @@ -9701,7 +9701,7 @@ ], "license": "MIT-0", "devDependencies": { - "@webref/css": "8.1.1", + "@webref/css": "8.1.2", "css-tree": "^3.1.0", "postcss": "^8.4" }, @@ -10007,7 +10007,7 @@ "@csstools/pack-test": "*", "@csstools/postcss-bundler": "*", "@csstools/postcss-tape": "*", - "@webref/css": "8.1.1" + "@webref/css": "8.1.2" }, "engines": { "node": ">=18" diff --git a/packages/css-syntax-patches-for-csstree/CHANGELOG.md b/packages/css-syntax-patches-for-csstree/CHANGELOG.md index e3a5f88c8f..f74237897a 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 `@webref/css` to [`v8.1.2`](https://github.com/w3c/webref/releases/tag/%40webref%2Fcss%408.1.2) + ### 1.0.21 _December 12, 2025_ diff --git a/packages/css-syntax-patches-for-csstree/dist/index.json b/packages/css-syntax-patches-for-csstree/dist/index.json index c7c161d886..735155d35d 100644 --- a/packages/css-syntax-patches-for-csstree/dist/index.json +++ b/packages/css-syntax-patches-for-csstree/dist/index.json @@ -231,7 +231,7 @@ "cursor": "[ , ]* ", "cx": "", "cy": "", - "display": "[ || ] | | | | | | <-non-standard-display> || [ | math ]", + "display": "[ || ] | | | | | grid-lanes | inline-grid-lanes | | <-non-standard-display> || [ | math ]", "dominant-baseline": "auto | text-bottom | text-top | use-script | no-change | reset-size | ideographic | alphabetic | hanging | mathematical | central | middle | text-after-edge | text-before-edge", "dynamic-range-limit": "standard | no-limit | constrained | ", "event-trigger": "none | [ <'event-trigger-name'> <'event-trigger-source'> ]#", @@ -333,7 +333,6 @@ "min-height": "auto | | min-content | max-content | fit-content( ) | | | stretch | fit-content | contain | <-non-standard-size>", "min-intrinsic-sizing": "legacy | zero-if-scroll || zero-if-extrinsic", "min-width": "auto | | min-content | max-content | fit-content( ) | | | stretch | fit-content | contain | <-non-standard-size>", - "mix-blend-mode": " | plus-darker | plus-lighter", "object-fit": "fill | none | [ contain | cover ] || scale-down", "object-view-box": "none | ", "opacity": "", @@ -537,6 +536,7 @@ "auto-line-color-list": "[ ]* [ ]*", "auto-line-style-list": "[ ]* [ ]*", "auto-line-width-list": "[ ]* [ ]*", + "auto-repeat": "repeat( [ auto-fill | auto-fit ] , [ ? ]+ ? )", "auto-repeat-line-color": "repeat( auto , [ ]+ )", "auto-repeat-line-style": "repeat( auto , [ ]+ )", "auto-repeat-line-width": "repeat( auto , [ ]+ )", @@ -547,6 +547,7 @@ "bg-layer": " || [ / ]? || || || || ", "bg-position": " | ", "bg-size": "[ | auto ]{1,2} | cover | contain", + "blend-mode": "normal | multiply | screen | overlay | darken | lighten | color-dodge | color-burn | soft-light | hard-light | difference | exclusion | hue | saturation | color | luminosity", "blur()": "blur( ? )", "border-radius": " | ", "calc-interpolate()": "calc-interpolate( [ && [ by ]? && ? ] , {1,2} : , [ ? , {1,2} : ]#? )", @@ -711,15 +712,18 @@ "mq-boolean": "", "navigation-condition": "not | [ and ]* | [ or ]*", "navigation-in-parens": "( ) | ( ) | ", - "navigation-keyword": "at | from | to", "navigation-location": " | ", + "navigation-location-keyword": "at | from | to", + "navigation-location-test": " : ", "navigation-param": " | ", "navigation-param-and": " [ \" and \" ]*", "navigation-param-expression": "( ) | ( ) | ", "navigation-param-function": "navigation-param( )", "navigation-param-key-value": "( : )", "navigation-param-or": " [ \" or \" ]*", - "navigation-test": " | : ", + "navigation-test": " | ", + "navigation-type-keyword": "traverse | back | forward | reload", + "navigation-type-test": "history : ", "number-optional-number": " ?", "oklab()": "oklab( [ from ]? [ | | l | a | b | alpha | none ] [ | | l | a | b | alpha | none ] [ | | l | a | b | alpha | none ] [ / [ | l | a | b | alpha | none ] ]? )", "oklch()": "oklch( [ from ]? [ | | l | c | h | alpha | none ] [ | | l | c | h | alpha | none ] [ | l | c | h | alpha | none ] [ / [ | l | c | h | alpha | none ] ]? )", diff --git a/packages/css-syntax-patches-for-csstree/package.json b/packages/css-syntax-patches-for-csstree/package.json index 95898fad2c..1956c422b1 100644 --- a/packages/css-syntax-patches-for-csstree/package.json +++ b/packages/css-syntax-patches-for-csstree/package.json @@ -36,7 +36,7 @@ "dist" ], "devDependencies": { - "@webref/css": "8.1.1", + "@webref/css": "8.1.2", "css-tree": "^3.1.0", "postcss": "^8.4" }, diff --git a/packages/css-syntax-patches-for-csstree/patches/webref-over-csstree-properties.json b/packages/css-syntax-patches-for-csstree/patches/webref-over-csstree-properties.json index cf6c546d3c..ba149a0b62 100644 --- a/packages/css-syntax-patches-for-csstree/patches/webref-over-csstree-properties.json +++ b/packages/css-syntax-patches-for-csstree/patches/webref-over-csstree-properties.json @@ -186,7 +186,7 @@ "type": "modified", "comment": "", "syntax-b": "#", - "syntax-a": "#", + "syntax-a": "<'mix-blend-mode'>#", "syntax-m": "<'mix-blend-mode'>#", "tests": { "passing": [ @@ -2601,8 +2601,8 @@ "type": "modified", "comment": "", "syntax-b": "[ || ] | | | | | <-non-standard-display>", - "syntax-a": "[ || ] | | | | | || [ | math ]", - "syntax-m": "[ || ] | | | | | | <-non-standard-display> || [ | math ]", + "syntax-a": "[ || ] | | | | | grid-lanes | inline-grid-lanes | || [ | math ]", + "syntax-m": "[ || ] | | | | | grid-lanes | inline-grid-lanes | | <-non-standard-display> || [ | math ]", "tests": { "passing": [ { @@ -3899,31 +3899,6 @@ "failing": [] } }, - "mix-blend-mode": { - "type": "modified", - "comment": "", - "syntax-b": " | plus-lighter", - "syntax-a": " | plus-darker | plus-lighter", - "syntax-m": " | plus-darker | plus-lighter", - "tests": { - "passing": [ - { - "value": "multiply" - }, - { - "value": "plus-lighter" - }, - { - "value": "plus-darker" - } - ], - "failing": [ - { - "value": "plus-foo" - } - ] - } - }, "nav-down": { "type": "added", "comment": "", diff --git a/packages/css-syntax-patches-for-csstree/patches/webref-over-csstree-types.json b/packages/css-syntax-patches-for-csstree/patches/webref-over-csstree-types.json index bb5dbbcc32..7caac8fbfb 100644 --- a/packages/css-syntax-patches-for-csstree/patches/webref-over-csstree-types.json +++ b/packages/css-syntax-patches-for-csstree/patches/webref-over-csstree-types.json @@ -464,6 +464,17 @@ "failing": [] } }, + "auto-repeat": { + "type": "modified", + "comment": "", + "syntax-b": "repeat( [ auto-fill | auto-fit ] , [ ? ]+ ? )", + "syntax-a": "repeat( [ auto-fill | auto-fit ] , [ ? ]+ ? )", + "syntax-m": "repeat( [ auto-fill | auto-fit ] , [ ? ]+ ? )", + "tests": { + "passing": [], + "failing": [] + } + }, "auto-repeat-line-color": { "type": "added", "comment": "", @@ -643,6 +654,17 @@ "failing": [] } }, + "blend-mode": { + "type": "modified", + "comment": "", + "syntax-b": "normal | multiply | screen | overlay | darken | lighten | color-dodge | color-burn | hard-light | soft-light | difference | exclusion | hue | saturation | color | luminosity", + "syntax-a": "normal | darken | multiply | color-burn | lighten | screen | color-dodge | overlay | soft-light | hard-light | difference | exclusion | hue | saturation | color | luminosity", + "syntax-m": "normal | multiply | screen | overlay | darken | lighten | color-dodge | color-burn | soft-light | hard-light | difference | exclusion | hue | saturation | color | luminosity", + "tests": { + "passing": [], + "failing": [] + } + }, "blur()": { "type": "modified", "comment": "", @@ -3304,7 +3326,18 @@ "failing": [] } }, - "navigation-keyword": { + "navigation-location": { + "type": "added", + "comment": "", + "syntax-b": "", + "syntax-a": " | ", + "syntax-m": " | ", + "tests": { + "passing": [], + "failing": [] + } + }, + "navigation-location-keyword": { "type": "added", "comment": "", "syntax-b": "", @@ -3315,12 +3348,12 @@ "failing": [] } }, - "navigation-location": { + "navigation-location-test": { "type": "added", "comment": "", "syntax-b": "", - "syntax-a": " | ", - "syntax-m": " | ", + "syntax-a": " : ", + "syntax-m": " : ", "tests": { "passing": [], "failing": [] @@ -3396,8 +3429,30 @@ "type": "added", "comment": "", "syntax-b": "", - "syntax-a": " | : ", - "syntax-m": " | : ", + "syntax-a": " | ", + "syntax-m": " | ", + "tests": { + "passing": [], + "failing": [] + } + }, + "navigation-type-keyword": { + "type": "added", + "comment": "", + "syntax-b": "", + "syntax-a": "traverse | back | forward | reload", + "syntax-m": "traverse | back | forward | reload", + "tests": { + "passing": [], + "failing": [] + } + }, + "navigation-type-test": { + "type": "added", + "comment": "", + "syntax-b": "", + "syntax-a": "history : ", + "syntax-m": "history : ", "tests": { "passing": [], "failing": [] diff --git a/packages/css-syntax-patches-for-csstree/raw-data/webref-over-csstree-properties.json b/packages/css-syntax-patches-for-csstree/raw-data/webref-over-csstree-properties.json index 856aacff38..29e33ec662 100644 --- a/packages/css-syntax-patches-for-csstree/raw-data/webref-over-csstree-properties.json +++ b/packages/css-syntax-patches-for-csstree/raw-data/webref-over-csstree-properties.json @@ -62,7 +62,7 @@ "background-blend-mode": { "type": "modified", "syntax-b": "#", - "syntax-a": "#", + "syntax-a": "<'mix-blend-mode'>#", "comment": "" }, "background-origin": { @@ -1046,7 +1046,7 @@ "display": { "type": "modified", "syntax-b": "[ || ] | | | | | <-non-standard-display>", - "syntax-a": "[ || ] | | | | | || [ | math ]", + "syntax-a": "[ || ] | | | | | grid-lanes | inline-grid-lanes | || [ | math ]", "comment": "" }, "dominant-baseline": { @@ -1691,12 +1691,6 @@ "syntax-a": "auto | | min-content | max-content | fit-content( ) | | | stretch | fit-content | contain", "comment": "" }, - "mix-blend-mode": { - "type": "modified", - "syntax-b": " | plus-lighter", - "syntax-a": " | plus-darker | plus-lighter", - "comment": "" - }, "nav-down": { "type": "added", "syntax-b": "", diff --git a/packages/css-syntax-patches-for-csstree/raw-data/webref-over-csstree-types.json b/packages/css-syntax-patches-for-csstree/raw-data/webref-over-csstree-types.json index fd9b37b136..d19b2c9454 100644 --- a/packages/css-syntax-patches-for-csstree/raw-data/webref-over-csstree-types.json +++ b/packages/css-syntax-patches-for-csstree/raw-data/webref-over-csstree-types.json @@ -137,6 +137,12 @@ "syntax-a": "[ ]* [ ]*", "comment": "" }, + "auto-repeat": { + "type": "modified", + "syntax-b": "repeat( [ auto-fill | auto-fit ] , [ ? ]+ ? )", + "syntax-a": "repeat( [ auto-fill | auto-fit ] , [ ? ]+ ? )", + "comment": "" + }, "auto-repeat-line-color": { "type": "added", "syntax-b": "", @@ -203,6 +209,12 @@ "syntax-a": "[ | auto ]{1,2} | cover | contain", "comment": "" }, + "blend-mode": { + "type": "modified", + "syntax-b": "normal | multiply | screen | overlay | darken | lighten | color-dodge | color-burn | hard-light | soft-light | difference | exclusion | hue | saturation | color | luminosity", + "syntax-a": "normal | darken | multiply | color-burn | lighten | screen | color-dodge | overlay | soft-light | hard-light | difference | exclusion | hue | saturation | color | luminosity", + "comment": "" + }, "blur()": { "type": "modified", "syntax-b": "blur( )", @@ -1241,16 +1253,22 @@ "syntax-a": "( ) | ( ) | ", "comment": "" }, - "navigation-keyword": { + "navigation-location": { + "type": "added", + "syntax-b": "", + "syntax-a": " | ", + "comment": "" + }, + "navigation-location-keyword": { "type": "added", "syntax-b": "", "syntax-a": "at | from | to", "comment": "" }, - "navigation-location": { + "navigation-location-test": { "type": "added", "syntax-b": "", - "syntax-a": " | ", + "syntax-a": " : ", "comment": "" }, "navigation-param": { @@ -1292,7 +1310,19 @@ "navigation-test": { "type": "added", "syntax-b": "", - "syntax-a": " | : ", + "syntax-a": " | ", + "comment": "" + }, + "navigation-type-keyword": { + "type": "added", + "syntax-b": "", + "syntax-a": "traverse | back | forward | reload", + "comment": "" + }, + "navigation-type-test": { + "type": "added", + "syntax-b": "", + "syntax-a": "history : ", "comment": "" }, "number-optional-number": { diff --git a/packages/css-syntax-patches-for-csstree/raw-data/webref-properties.json b/packages/css-syntax-patches-for-csstree/raw-data/webref-properties.json index 090c5c59de..4a4c5ed7f0 100644 --- a/packages/css-syntax-patches-for-csstree/raw-data/webref-properties.json +++ b/packages/css-syntax-patches-for-csstree/raw-data/webref-properties.json @@ -108,7 +108,7 @@ "syntax": "#" }, "background-blend-mode": { - "syntax": "#" + "syntax": "<'mix-blend-mode'>#" }, "background-clip": { "syntax": "#" @@ -858,7 +858,7 @@ "syntax": "ltr | rtl" }, "display": { - "syntax": "[ || ] | | | | | || [ | math ]" + "syntax": "[ || ] | | | | | grid-lanes | inline-grid-lanes | || [ | math ]" }, "dominant-baseline": { "syntax": "auto | text-bottom | alphabetic | ideographic | middle | central | mathematical | hanging | text-top" @@ -1563,7 +1563,7 @@ "syntax": "auto | | min-content | max-content | fit-content( ) | | | stretch | fit-content | contain" }, "mix-blend-mode": { - "syntax": " | plus-darker | plus-lighter" + "syntax": " | plus-lighter" }, "nav-down": { "syntax": "auto | [ current | root | ]?" diff --git a/packages/css-syntax-patches-for-csstree/raw-data/webref-types.json b/packages/css-syntax-patches-for-csstree/raw-data/webref-types.json index 805b1ee950..49251faa2b 100644 --- a/packages/css-syntax-patches-for-csstree/raw-data/webref-types.json +++ b/packages/css-syntax-patches-for-csstree/raw-data/webref-types.json @@ -129,7 +129,7 @@ "syntax": "[ ]* [ ]*" }, "auto-repeat": { - "syntax": "repeat( [ auto-fill | auto-fit ] , [ ? ]+ ? )" + "syntax": "repeat( [ auto-fill | auto-fit ] , [ ? ]+ ? )" }, "auto-repeat-line-color": { "syntax": "repeat( auto , [ ]+ )" @@ -174,7 +174,7 @@ "syntax": "[ | auto ]{1,2} | cover | contain" }, "blend-mode": { - "syntax": "normal | multiply | screen | overlay | darken | lighten | color-dodge | color-burn | hard-light | soft-light | difference | exclusion | hue | saturation | color | luminosity" + "syntax": "normal | darken | multiply | color-burn | lighten | screen | color-dodge | overlay | soft-light | hard-light | difference | exclusion | hue | saturation | color | luminosity" }, "blur()": { "syntax": "blur( ? )" @@ -1127,12 +1127,15 @@ "navigation-in-parens": { "syntax": "( ) | ( ) | " }, - "navigation-keyword": { - "syntax": "at | from | to" - }, "navigation-location": { "syntax": " | " }, + "navigation-location-keyword": { + "syntax": "at | from | to" + }, + "navigation-location-test": { + "syntax": " : " + }, "navigation-param": { "syntax": " | " }, @@ -1152,7 +1155,13 @@ "syntax": " [ \" or \" ]*" }, "navigation-test": { - "syntax": " | : " + "syntax": " | " + }, + "navigation-type-keyword": { + "syntax": "traverse | back | forward | reload" + }, + "navigation-type-test": { + "syntax": "history : " }, "ns-prefix": { "syntax": "[ | '*' ]? '|'" diff --git a/plugin-packs/postcss-preset-env/package.json b/plugin-packs/postcss-preset-env/package.json index 9db9de1009..faa40cea6f 100644 --- a/plugin-packs/postcss-preset-env/package.json +++ b/plugin-packs/postcss-preset-env/package.json @@ -129,7 +129,7 @@ "@csstools/pack-test": "*", "@csstools/postcss-bundler": "*", "@csstools/postcss-tape": "*", - "@webref/css": "8.1.1" + "@webref/css": "8.1.2" }, "scripts": { "prebuild": "node ./scripts/generate-plugins-data.mjs && eslint --fix ./src/plugins/*.mjs",