Skip to content

Commit 8070396

Browse files
committed
css-syntax-patches-for-csstree: update dependencies
1 parent 4dc1bf8 commit 8070396

11 files changed

Lines changed: 137 additions & 66 deletions

File tree

package-lock.json

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

packages/css-syntax-patches-for-csstree/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changes to CSS Syntax Patches For CSSTree
22

3+
### Unreleased (patch)
4+
5+
- Update `@webref/css` to [`v8.1.2`](https://github.com/w3c/webref/releases/tag/%40webref%2Fcss%408.1.2)
6+
37
### 1.0.21
48

59
_December 12, 2025_

packages/css-syntax-patches-for-csstree/dist/index.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@
231231
"cursor": "[ <cursor-image> , ]* <cursor-predefined>",
232232
"cx": "<length-percentage>",
233233
"cy": "<length-percentage>",
234-
"display": "[ <display-outside> || <display-inside> ] | <display-listitem> | <display-internal> | <display-box> | <display-legacy> | <display-outside> | <-non-standard-display> || [ <display-inside> | math ]",
234+
"display": "[ <display-outside> || <display-inside> ] | <display-listitem> | <display-internal> | <display-box> | <display-legacy> | grid-lanes | inline-grid-lanes | <display-outside> | <-non-standard-display> || [ <display-inside> | math ]",
235235
"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",
236236
"dynamic-range-limit": "standard | no-limit | constrained | <dynamic-range-limit-mix()>",
237237
"event-trigger": "none | [ <'event-trigger-name'> <'event-trigger-source'> ]#",
@@ -333,7 +333,6 @@
333333
"min-height": "auto | <length-percentage [0,∞]> | min-content | max-content | fit-content( <length-percentage [0,∞]> ) | <calc-size()> | <anchor-size()> | stretch | fit-content | contain | <-non-standard-size>",
334334
"min-intrinsic-sizing": "legacy | zero-if-scroll || zero-if-extrinsic",
335335
"min-width": "auto | <length-percentage [0,∞]> | min-content | max-content | fit-content( <length-percentage [0,∞]> ) | <calc-size()> | <anchor-size()> | stretch | fit-content | contain | <-non-standard-size>",
336-
"mix-blend-mode": "<blend-mode> | plus-darker | plus-lighter",
337336
"object-fit": "fill | none | [ contain | cover ] || scale-down",
338337
"object-view-box": "none | <basic-shape-rect>",
339338
"opacity": "<opacity-value>",
@@ -537,6 +536,7 @@
537536
"auto-line-color-list": "[ <line-color-or-repeat> ]* <auto-repeat-line-color> [ <line-color-or-repeat> ]*",
538537
"auto-line-style-list": "[ <line-style-or-repeat> ]* <auto-repeat-line-style> [ <line-style-or-repeat> ]*",
539538
"auto-line-width-list": "[ <line-width-or-repeat> ]* <auto-repeat-line-width> [ <line-width-or-repeat> ]*",
539+
"auto-repeat": "repeat( [ auto-fill | auto-fit ] , [ <line-names>? <track-size> ]+ <line-names>? )",
540540
"auto-repeat-line-color": "repeat( auto , [ <color> ]+ )",
541541
"auto-repeat-line-style": "repeat( auto , [ <line-style> ]+ )",
542542
"auto-repeat-line-width": "repeat( auto , [ <line-width> ]+ )",
@@ -547,6 +547,7 @@
547547
"bg-layer": "<bg-image> || <bg-position> [ / <bg-size> ]? || <repeat-style> || <attachment> || <bg-clip> || <visual-box>",
548548
"bg-position": "<position> | <position-three>",
549549
"bg-size": "[ <length-percentage [0,∞]> | auto ]{1,2} | cover | contain",
550+
"blend-mode": "normal | multiply | screen | overlay | darken | lighten | color-dodge | color-burn | soft-light | hard-light | difference | exclusion | hue | saturation | color | luminosity",
550551
"blur()": "blur( <length>? )",
551552
"border-radius": "<slash-separated-border-radius-syntax> | <legacy-border-radius-syntax>",
552553
"calc-interpolate()": "calc-interpolate( [ <progress-source> && [ by <easing-function> ]? && <easing-function>? ] , <input-position>{1,2} : <calc-sum> , [ <easing-function>? , <input-position>{1,2} : <calc-sum> ]#? )",
@@ -711,15 +712,18 @@
711712
"mq-boolean": "<integer [0,1]>",
712713
"navigation-condition": "not <navigation-in-parens> | <navigation-in-parens> [ and <navigation-in-parens> ]* | <navigation-in-parens> [ or <navigation-in-parens> ]*",
713714
"navigation-in-parens": "( <navigation-condition> ) | ( <navigation-test> ) | <general-enclosed>",
714-
"navigation-keyword": "at | from | to",
715715
"navigation-location": "<route-name> | <url-pattern()>",
716+
"navigation-location-keyword": "at | from | to",
717+
"navigation-location-test": "<navigation-location-keyword> : <navigation-location>",
716718
"navigation-param": "<navigation-param-key-value> | <navigation-param-function>",
717719
"navigation-param-and": "<navigation-param-expression> [ \" and \" <navigation-param-expression> ]*",
718720
"navigation-param-expression": "( <navigation-param-and> ) | ( <navigation-param-or> ) | <navigation-param>",
719721
"navigation-param-function": "navigation-param( <ident> )",
720722
"navigation-param-key-value": "( <ident> : <string> )",
721723
"navigation-param-or": "<navigation-param-expression> [ \" or \" <navigation-param-expression> ]*",
722-
"navigation-test": "<navigation-location> | <navigation-keyword> : <navigation-location>",
724+
"navigation-test": "<navigation-location-test> | <navigation-type-test>",
725+
"navigation-type-keyword": "traverse | back | forward | reload",
726+
"navigation-type-test": "history : <navigation-type-keyword>",
723727
"number-optional-number": "<number> <number>?",
724728
"oklab()": "oklab( [ from <color> ]? [ <percentage> | <number> | l | a | b | alpha | none ] [ <percentage> | <number> | l | a | b | alpha | none ] [ <percentage> | <number> | l | a | b | alpha | none ] [ / [ <alpha-value> | l | a | b | alpha | none ] ]? )",
725729
"oklch()": "oklch( [ from <color> ]? [ <percentage> | <number> | l | c | h | alpha | none ] [ <percentage> | <number> | l | c | h | alpha | none ] [ <hue> | l | c | h | alpha | none ] [ / [ <alpha-value> | l | c | h | alpha | none ] ]? )",

packages/css-syntax-patches-for-csstree/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"dist"
3737
],
3838
"devDependencies": {
39-
"@webref/css": "8.1.1",
39+
"@webref/css": "8.1.2",
4040
"css-tree": "^3.1.0",
4141
"postcss": "^8.4"
4242
},

packages/css-syntax-patches-for-csstree/patches/webref-over-csstree-properties.json

Lines changed: 3 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
"type": "modified",
187187
"comment": "",
188188
"syntax-b": "<blend-mode>#",
189-
"syntax-a": "<mix-blend-mode>#",
189+
"syntax-a": "<'mix-blend-mode'>#",
190190
"syntax-m": "<'mix-blend-mode'>#",
191191
"tests": {
192192
"passing": [
@@ -2601,8 +2601,8 @@
26012601
"type": "modified",
26022602
"comment": "",
26032603
"syntax-b": "[ <display-outside> || <display-inside> ] | <display-listitem> | <display-internal> | <display-box> | <display-legacy> | <-non-standard-display>",
2604-
"syntax-a": "[ <display-outside> || <display-inside> ] | <display-listitem> | <display-internal> | <display-box> | <display-legacy> | <display-outside> || [ <display-inside> | math ]",
2605-
"syntax-m": "[ <display-outside> || <display-inside> ] | <display-listitem> | <display-internal> | <display-box> | <display-legacy> | <display-outside> | <-non-standard-display> || [ <display-inside> | math ]",
2604+
"syntax-a": "[ <display-outside> || <display-inside> ] | <display-listitem> | <display-internal> | <display-box> | <display-legacy> | grid-lanes | inline-grid-lanes | <display-outside> || [ <display-inside> | math ]",
2605+
"syntax-m": "[ <display-outside> || <display-inside> ] | <display-listitem> | <display-internal> | <display-box> | <display-legacy> | grid-lanes | inline-grid-lanes | <display-outside> | <-non-standard-display> || [ <display-inside> | math ]",
26062606
"tests": {
26072607
"passing": [
26082608
{
@@ -3899,31 +3899,6 @@
38993899
"failing": []
39003900
}
39013901
},
3902-
"mix-blend-mode": {
3903-
"type": "modified",
3904-
"comment": "",
3905-
"syntax-b": "<blend-mode> | plus-lighter",
3906-
"syntax-a": "<blend-mode> | plus-darker | plus-lighter",
3907-
"syntax-m": "<blend-mode> | plus-darker | plus-lighter",
3908-
"tests": {
3909-
"passing": [
3910-
{
3911-
"value": "multiply"
3912-
},
3913-
{
3914-
"value": "plus-lighter"
3915-
},
3916-
{
3917-
"value": "plus-darker"
3918-
}
3919-
],
3920-
"failing": [
3921-
{
3922-
"value": "plus-foo"
3923-
}
3924-
]
3925-
}
3926-
},
39273902
"nav-down": {
39283903
"type": "added",
39293904
"comment": "",

packages/css-syntax-patches-for-csstree/patches/webref-over-csstree-types.json

Lines changed: 61 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -464,6 +464,17 @@
464464
"failing": []
465465
}
466466
},
467+
"auto-repeat": {
468+
"type": "modified",
469+
"comment": "",
470+
"syntax-b": "repeat( [ auto-fill | auto-fit ] , [ <line-names>? <fixed-size> ]+ <line-names>? )",
471+
"syntax-a": "repeat( [ auto-fill | auto-fit ] , [ <line-names>? <track-size> ]+ <line-names>? )",
472+
"syntax-m": "repeat( [ auto-fill | auto-fit ] , [ <line-names>? <track-size> ]+ <line-names>? )",
473+
"tests": {
474+
"passing": [],
475+
"failing": []
476+
}
477+
},
467478
"auto-repeat-line-color": {
468479
"type": "added",
469480
"comment": "",
@@ -643,6 +654,17 @@
643654
"failing": []
644655
}
645656
},
657+
"blend-mode": {
658+
"type": "modified",
659+
"comment": "",
660+
"syntax-b": "normal | multiply | screen | overlay | darken | lighten | color-dodge | color-burn | hard-light | soft-light | difference | exclusion | hue | saturation | color | luminosity",
661+
"syntax-a": "normal | darken | multiply | color-burn | lighten | screen | color-dodge | overlay | soft-light | hard-light | difference | exclusion | hue | saturation | color | luminosity",
662+
"syntax-m": "normal | multiply | screen | overlay | darken | lighten | color-dodge | color-burn | soft-light | hard-light | difference | exclusion | hue | saturation | color | luminosity",
663+
"tests": {
664+
"passing": [],
665+
"failing": []
666+
}
667+
},
646668
"blur()": {
647669
"type": "modified",
648670
"comment": "",
@@ -3304,7 +3326,18 @@
33043326
"failing": []
33053327
}
33063328
},
3307-
"navigation-keyword": {
3329+
"navigation-location": {
3330+
"type": "added",
3331+
"comment": "",
3332+
"syntax-b": "",
3333+
"syntax-a": "<route-name> | <url-pattern()>",
3334+
"syntax-m": "<route-name> | <url-pattern()>",
3335+
"tests": {
3336+
"passing": [],
3337+
"failing": []
3338+
}
3339+
},
3340+
"navigation-location-keyword": {
33083341
"type": "added",
33093342
"comment": "",
33103343
"syntax-b": "",
@@ -3315,12 +3348,12 @@
33153348
"failing": []
33163349
}
33173350
},
3318-
"navigation-location": {
3351+
"navigation-location-test": {
33193352
"type": "added",
33203353
"comment": "",
33213354
"syntax-b": "",
3322-
"syntax-a": "<route-name> | <url-pattern()>",
3323-
"syntax-m": "<route-name> | <url-pattern()>",
3355+
"syntax-a": "<navigation-location-keyword> : <navigation-location>",
3356+
"syntax-m": "<navigation-location-keyword> : <navigation-location>",
33243357
"tests": {
33253358
"passing": [],
33263359
"failing": []
@@ -3396,8 +3429,30 @@
33963429
"type": "added",
33973430
"comment": "",
33983431
"syntax-b": "",
3399-
"syntax-a": "<navigation-location> | <navigation-keyword> : <navigation-location>",
3400-
"syntax-m": "<navigation-location> | <navigation-keyword> : <navigation-location>",
3432+
"syntax-a": "<navigation-location-test> | <navigation-type-test>",
3433+
"syntax-m": "<navigation-location-test> | <navigation-type-test>",
3434+
"tests": {
3435+
"passing": [],
3436+
"failing": []
3437+
}
3438+
},
3439+
"navigation-type-keyword": {
3440+
"type": "added",
3441+
"comment": "",
3442+
"syntax-b": "",
3443+
"syntax-a": "traverse | back | forward | reload",
3444+
"syntax-m": "traverse | back | forward | reload",
3445+
"tests": {
3446+
"passing": [],
3447+
"failing": []
3448+
}
3449+
},
3450+
"navigation-type-test": {
3451+
"type": "added",
3452+
"comment": "",
3453+
"syntax-b": "",
3454+
"syntax-a": "history : <navigation-type-keyword>",
3455+
"syntax-m": "history : <navigation-type-keyword>",
34013456
"tests": {
34023457
"passing": [],
34033458
"failing": []

packages/css-syntax-patches-for-csstree/raw-data/webref-over-csstree-properties.json

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
"background-blend-mode": {
6363
"type": "modified",
6464
"syntax-b": "<blend-mode>#",
65-
"syntax-a": "<mix-blend-mode>#",
65+
"syntax-a": "<'mix-blend-mode'>#",
6666
"comment": ""
6767
},
6868
"background-origin": {
@@ -1046,7 +1046,7 @@
10461046
"display": {
10471047
"type": "modified",
10481048
"syntax-b": "[ <display-outside> || <display-inside> ] | <display-listitem> | <display-internal> | <display-box> | <display-legacy> | <-non-standard-display>",
1049-
"syntax-a": "[ <display-outside> || <display-inside> ] | <display-listitem> | <display-internal> | <display-box> | <display-legacy> | <display-outside> || [ <display-inside> | math ]",
1049+
"syntax-a": "[ <display-outside> || <display-inside> ] | <display-listitem> | <display-internal> | <display-box> | <display-legacy> | grid-lanes | inline-grid-lanes | <display-outside> || [ <display-inside> | math ]",
10501050
"comment": ""
10511051
},
10521052
"dominant-baseline": {
@@ -1691,12 +1691,6 @@
16911691
"syntax-a": "auto | <length-percentage [0,∞]> | min-content | max-content | fit-content( <length-percentage [0,∞]> ) | <calc-size()> | <anchor-size()> | stretch | fit-content | contain",
16921692
"comment": ""
16931693
},
1694-
"mix-blend-mode": {
1695-
"type": "modified",
1696-
"syntax-b": "<blend-mode> | plus-lighter",
1697-
"syntax-a": "<blend-mode> | plus-darker | plus-lighter",
1698-
"comment": ""
1699-
},
17001694
"nav-down": {
17011695
"type": "added",
17021696
"syntax-b": "",

packages/css-syntax-patches-for-csstree/raw-data/webref-over-csstree-types.json

Lines changed: 34 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,12 @@
137137
"syntax-a": "[ <line-width-or-repeat> ]* <auto-repeat-line-width> [ <line-width-or-repeat> ]*",
138138
"comment": ""
139139
},
140+
"auto-repeat": {
141+
"type": "modified",
142+
"syntax-b": "repeat( [ auto-fill | auto-fit ] , [ <line-names>? <fixed-size> ]+ <line-names>? )",
143+
"syntax-a": "repeat( [ auto-fill | auto-fit ] , [ <line-names>? <track-size> ]+ <line-names>? )",
144+
"comment": ""
145+
},
140146
"auto-repeat-line-color": {
141147
"type": "added",
142148
"syntax-b": "",
@@ -203,6 +209,12 @@
203209
"syntax-a": "[ <length-percentage [0,∞]> | auto ]{1,2} | cover | contain",
204210
"comment": ""
205211
},
212+
"blend-mode": {
213+
"type": "modified",
214+
"syntax-b": "normal | multiply | screen | overlay | darken | lighten | color-dodge | color-burn | hard-light | soft-light | difference | exclusion | hue | saturation | color | luminosity",
215+
"syntax-a": "normal | darken | multiply | color-burn | lighten | screen | color-dodge | overlay | soft-light | hard-light | difference | exclusion | hue | saturation | color | luminosity",
216+
"comment": ""
217+
},
206218
"blur()": {
207219
"type": "modified",
208220
"syntax-b": "blur( <length> )",
@@ -1241,16 +1253,22 @@
12411253
"syntax-a": "( <navigation-condition> ) | ( <navigation-test> ) | <general-enclosed>",
12421254
"comment": ""
12431255
},
1244-
"navigation-keyword": {
1256+
"navigation-location": {
1257+
"type": "added",
1258+
"syntax-b": "",
1259+
"syntax-a": "<route-name> | <url-pattern()>",
1260+
"comment": ""
1261+
},
1262+
"navigation-location-keyword": {
12451263
"type": "added",
12461264
"syntax-b": "",
12471265
"syntax-a": "at | from | to",
12481266
"comment": ""
12491267
},
1250-
"navigation-location": {
1268+
"navigation-location-test": {
12511269
"type": "added",
12521270
"syntax-b": "",
1253-
"syntax-a": "<route-name> | <url-pattern()>",
1271+
"syntax-a": "<navigation-location-keyword> : <navigation-location>",
12541272
"comment": ""
12551273
},
12561274
"navigation-param": {
@@ -1292,7 +1310,19 @@
12921310
"navigation-test": {
12931311
"type": "added",
12941312
"syntax-b": "",
1295-
"syntax-a": "<navigation-location> | <navigation-keyword> : <navigation-location>",
1313+
"syntax-a": "<navigation-location-test> | <navigation-type-test>",
1314+
"comment": ""
1315+
},
1316+
"navigation-type-keyword": {
1317+
"type": "added",
1318+
"syntax-b": "",
1319+
"syntax-a": "traverse | back | forward | reload",
1320+
"comment": ""
1321+
},
1322+
"navigation-type-test": {
1323+
"type": "added",
1324+
"syntax-b": "",
1325+
"syntax-a": "history : <navigation-type-keyword>",
12961326
"comment": ""
12971327
},
12981328
"number-optional-number": {

packages/css-syntax-patches-for-csstree/raw-data/webref-properties.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
"syntax": "<attachment>#"
109109
},
110110
"background-blend-mode": {
111-
"syntax": "<mix-blend-mode>#"
111+
"syntax": "<'mix-blend-mode'>#"
112112
},
113113
"background-clip": {
114114
"syntax": "<bg-clip>#"
@@ -858,7 +858,7 @@
858858
"syntax": "ltr | rtl"
859859
},
860860
"display": {
861-
"syntax": "[ <display-outside> || <display-inside> ] | <display-listitem> | <display-internal> | <display-box> | <display-legacy> | <display-outside> || [ <display-inside> | math ]"
861+
"syntax": "[ <display-outside> || <display-inside> ] | <display-listitem> | <display-internal> | <display-box> | <display-legacy> | grid-lanes | inline-grid-lanes | <display-outside> || [ <display-inside> | math ]"
862862
},
863863
"dominant-baseline": {
864864
"syntax": "auto | text-bottom | alphabetic | ideographic | middle | central | mathematical | hanging | text-top"
@@ -1563,7 +1563,7 @@
15631563
"syntax": "auto | <length-percentage [0,∞]> | min-content | max-content | fit-content( <length-percentage [0,∞]> ) | <calc-size()> | <anchor-size()> | stretch | fit-content | contain"
15641564
},
15651565
"mix-blend-mode": {
1566-
"syntax": "<blend-mode> | plus-darker | plus-lighter"
1566+
"syntax": "<blend-mode> | plus-lighter"
15671567
},
15681568
"nav-down": {
15691569
"syntax": "auto | <id> [ current | root | <target-name> ]?"

0 commit comments

Comments
 (0)