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
10 changes: 5 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions packages/css-syntax-patches-for-csstree/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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_
Expand Down
12 changes: 8 additions & 4 deletions packages/css-syntax-patches-for-csstree/dist/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@
"cursor": "[ <cursor-image> , ]* <cursor-predefined>",
"cx": "<length-percentage>",
"cy": "<length-percentage>",
"display": "[ <display-outside> || <display-inside> ] | <display-listitem> | <display-internal> | <display-box> | <display-legacy> | <display-outside> | <-non-standard-display> || [ <display-inside> | math ]",
"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 ]",
"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 | <dynamic-range-limit-mix()>",
"event-trigger": "none | [ <'event-trigger-name'> <'event-trigger-source'> ]#",
Expand Down Expand Up @@ -333,7 +333,6 @@
"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>",
"min-intrinsic-sizing": "legacy | zero-if-scroll || zero-if-extrinsic",
"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>",
"mix-blend-mode": "<blend-mode> | plus-darker | plus-lighter",
"object-fit": "fill | none | [ contain | cover ] || scale-down",
"object-view-box": "none | <basic-shape-rect>",
"opacity": "<opacity-value>",
Expand Down Expand Up @@ -537,6 +536,7 @@
"auto-line-color-list": "[ <line-color-or-repeat> ]* <auto-repeat-line-color> [ <line-color-or-repeat> ]*",
"auto-line-style-list": "[ <line-style-or-repeat> ]* <auto-repeat-line-style> [ <line-style-or-repeat> ]*",
"auto-line-width-list": "[ <line-width-or-repeat> ]* <auto-repeat-line-width> [ <line-width-or-repeat> ]*",
"auto-repeat": "repeat( [ auto-fill | auto-fit ] , [ <line-names>? <track-size> ]+ <line-names>? )",
"auto-repeat-line-color": "repeat( auto , [ <color> ]+ )",
"auto-repeat-line-style": "repeat( auto , [ <line-style> ]+ )",
"auto-repeat-line-width": "repeat( auto , [ <line-width> ]+ )",
Expand All @@ -547,6 +547,7 @@
"bg-layer": "<bg-image> || <bg-position> [ / <bg-size> ]? || <repeat-style> || <attachment> || <bg-clip> || <visual-box>",
"bg-position": "<position> | <position-three>",
"bg-size": "[ <length-percentage [0,∞]> | 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( <length>? )",
"border-radius": "<slash-separated-border-radius-syntax> | <legacy-border-radius-syntax>",
"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> ]#? )",
Expand Down Expand Up @@ -711,15 +712,18 @@
"mq-boolean": "<integer [0,1]>",
"navigation-condition": "not <navigation-in-parens> | <navigation-in-parens> [ and <navigation-in-parens> ]* | <navigation-in-parens> [ or <navigation-in-parens> ]*",
"navigation-in-parens": "( <navigation-condition> ) | ( <navigation-test> ) | <general-enclosed>",
"navigation-keyword": "at | from | to",
"navigation-location": "<route-name> | <url-pattern()>",
"navigation-location-keyword": "at | from | to",
"navigation-location-test": "<navigation-location-keyword> : <navigation-location>",
"navigation-param": "<navigation-param-key-value> | <navigation-param-function>",
"navigation-param-and": "<navigation-param-expression> [ \" and \" <navigation-param-expression> ]*",
"navigation-param-expression": "( <navigation-param-and> ) | ( <navigation-param-or> ) | <navigation-param>",
"navigation-param-function": "navigation-param( <ident> )",
"navigation-param-key-value": "( <ident> : <string> )",
"navigation-param-or": "<navigation-param-expression> [ \" or \" <navigation-param-expression> ]*",
"navigation-test": "<navigation-location> | <navigation-keyword> : <navigation-location>",
"navigation-test": "<navigation-location-test> | <navigation-type-test>",
"navigation-type-keyword": "traverse | back | forward | reload",
"navigation-type-test": "history : <navigation-type-keyword>",
"number-optional-number": "<number> <number>?",
"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 ] ]? )",
"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 ] ]? )",
Expand Down
2 changes: 1 addition & 1 deletion packages/css-syntax-patches-for-csstree/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"dist"
],
"devDependencies": {
"@webref/css": "8.1.1",
"@webref/css": "8.1.2",
"css-tree": "^3.1.0",
"postcss": "^8.4"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
"type": "modified",
"comment": "",
"syntax-b": "<blend-mode>#",
"syntax-a": "<mix-blend-mode>#",
"syntax-a": "<'mix-blend-mode'>#",
"syntax-m": "<'mix-blend-mode'>#",
"tests": {
"passing": [
Expand Down Expand Up @@ -2601,8 +2601,8 @@
"type": "modified",
"comment": "",
"syntax-b": "[ <display-outside> || <display-inside> ] | <display-listitem> | <display-internal> | <display-box> | <display-legacy> | <-non-standard-display>",
"syntax-a": "[ <display-outside> || <display-inside> ] | <display-listitem> | <display-internal> | <display-box> | <display-legacy> | <display-outside> || [ <display-inside> | math ]",
"syntax-m": "[ <display-outside> || <display-inside> ] | <display-listitem> | <display-internal> | <display-box> | <display-legacy> | <display-outside> | <-non-standard-display> || [ <display-inside> | math ]",
"syntax-a": "[ <display-outside> || <display-inside> ] | <display-listitem> | <display-internal> | <display-box> | <display-legacy> | grid-lanes | inline-grid-lanes | <display-outside> || [ <display-inside> | math ]",
"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 ]",
"tests": {
"passing": [
{
Expand Down Expand Up @@ -3899,31 +3899,6 @@
"failing": []
}
},
"mix-blend-mode": {
"type": "modified",
"comment": "",
"syntax-b": "<blend-mode> | plus-lighter",
"syntax-a": "<blend-mode> | plus-darker | plus-lighter",
"syntax-m": "<blend-mode> | plus-darker | plus-lighter",
"tests": {
"passing": [
{
"value": "multiply"
},
{
"value": "plus-lighter"
},
{
"value": "plus-darker"
}
],
"failing": [
{
"value": "plus-foo"
}
]
}
},
"nav-down": {
"type": "added",
"comment": "",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,17 @@
"failing": []
}
},
"auto-repeat": {
"type": "modified",
"comment": "",
"syntax-b": "repeat( [ auto-fill | auto-fit ] , [ <line-names>? <fixed-size> ]+ <line-names>? )",
"syntax-a": "repeat( [ auto-fill | auto-fit ] , [ <line-names>? <track-size> ]+ <line-names>? )",
"syntax-m": "repeat( [ auto-fill | auto-fit ] , [ <line-names>? <track-size> ]+ <line-names>? )",
"tests": {
"passing": [],
"failing": []
}
},
"auto-repeat-line-color": {
"type": "added",
"comment": "",
Expand Down Expand Up @@ -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": "",
Expand Down Expand Up @@ -3304,7 +3326,18 @@
"failing": []
}
},
"navigation-keyword": {
"navigation-location": {
"type": "added",
"comment": "",
"syntax-b": "",
"syntax-a": "<route-name> | <url-pattern()>",
"syntax-m": "<route-name> | <url-pattern()>",
"tests": {
"passing": [],
"failing": []
}
},
"navigation-location-keyword": {
"type": "added",
"comment": "",
"syntax-b": "",
Expand All @@ -3315,12 +3348,12 @@
"failing": []
}
},
"navigation-location": {
"navigation-location-test": {
"type": "added",
"comment": "",
"syntax-b": "",
"syntax-a": "<route-name> | <url-pattern()>",
"syntax-m": "<route-name> | <url-pattern()>",
"syntax-a": "<navigation-location-keyword> : <navigation-location>",
"syntax-m": "<navigation-location-keyword> : <navigation-location>",
"tests": {
"passing": [],
"failing": []
Expand Down Expand Up @@ -3396,8 +3429,30 @@
"type": "added",
"comment": "",
"syntax-b": "",
"syntax-a": "<navigation-location> | <navigation-keyword> : <navigation-location>",
"syntax-m": "<navigation-location> | <navigation-keyword> : <navigation-location>",
"syntax-a": "<navigation-location-test> | <navigation-type-test>",
"syntax-m": "<navigation-location-test> | <navigation-type-test>",
"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 : <navigation-type-keyword>",
"syntax-m": "history : <navigation-type-keyword>",
"tests": {
"passing": [],
"failing": []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"background-blend-mode": {
"type": "modified",
"syntax-b": "<blend-mode>#",
"syntax-a": "<mix-blend-mode>#",
"syntax-a": "<'mix-blend-mode'>#",
"comment": ""
},
"background-origin": {
Expand Down Expand Up @@ -1046,7 +1046,7 @@
"display": {
"type": "modified",
"syntax-b": "[ <display-outside> || <display-inside> ] | <display-listitem> | <display-internal> | <display-box> | <display-legacy> | <-non-standard-display>",
"syntax-a": "[ <display-outside> || <display-inside> ] | <display-listitem> | <display-internal> | <display-box> | <display-legacy> | <display-outside> || [ <display-inside> | math ]",
"syntax-a": "[ <display-outside> || <display-inside> ] | <display-listitem> | <display-internal> | <display-box> | <display-legacy> | grid-lanes | inline-grid-lanes | <display-outside> || [ <display-inside> | math ]",
"comment": ""
},
"dominant-baseline": {
Expand Down Expand Up @@ -1691,12 +1691,6 @@
"syntax-a": "auto | <length-percentage [0,∞]> | min-content | max-content | fit-content( <length-percentage [0,∞]> ) | <calc-size()> | <anchor-size()> | stretch | fit-content | contain",
"comment": ""
},
"mix-blend-mode": {
"type": "modified",
"syntax-b": "<blend-mode> | plus-lighter",
"syntax-a": "<blend-mode> | plus-darker | plus-lighter",
"comment": ""
},
"nav-down": {
"type": "added",
"syntax-b": "",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,12 @@
"syntax-a": "[ <line-width-or-repeat> ]* <auto-repeat-line-width> [ <line-width-or-repeat> ]*",
"comment": ""
},
"auto-repeat": {
"type": "modified",
"syntax-b": "repeat( [ auto-fill | auto-fit ] , [ <line-names>? <fixed-size> ]+ <line-names>? )",
"syntax-a": "repeat( [ auto-fill | auto-fit ] , [ <line-names>? <track-size> ]+ <line-names>? )",
"comment": ""
},
"auto-repeat-line-color": {
"type": "added",
"syntax-b": "",
Expand Down Expand Up @@ -203,6 +209,12 @@
"syntax-a": "[ <length-percentage [0,∞]> | 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( <length> )",
Expand Down Expand Up @@ -1241,16 +1253,22 @@
"syntax-a": "( <navigation-condition> ) | ( <navigation-test> ) | <general-enclosed>",
"comment": ""
},
"navigation-keyword": {
"navigation-location": {
"type": "added",
"syntax-b": "",
"syntax-a": "<route-name> | <url-pattern()>",
"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": "<route-name> | <url-pattern()>",
"syntax-a": "<navigation-location-keyword> : <navigation-location>",
"comment": ""
},
"navigation-param": {
Expand Down Expand Up @@ -1292,7 +1310,19 @@
"navigation-test": {
"type": "added",
"syntax-b": "",
"syntax-a": "<navigation-location> | <navigation-keyword> : <navigation-location>",
"syntax-a": "<navigation-location-test> | <navigation-type-test>",
"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 : <navigation-type-keyword>",
"comment": ""
},
"number-optional-number": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
"syntax": "<attachment>#"
},
"background-blend-mode": {
"syntax": "<mix-blend-mode>#"
"syntax": "<'mix-blend-mode'>#"
},
"background-clip": {
"syntax": "<bg-clip>#"
Expand Down Expand Up @@ -858,7 +858,7 @@
"syntax": "ltr | rtl"
},
"display": {
"syntax": "[ <display-outside> || <display-inside> ] | <display-listitem> | <display-internal> | <display-box> | <display-legacy> | <display-outside> || [ <display-inside> | math ]"
"syntax": "[ <display-outside> || <display-inside> ] | <display-listitem> | <display-internal> | <display-box> | <display-legacy> | grid-lanes | inline-grid-lanes | <display-outside> || [ <display-inside> | math ]"
},
"dominant-baseline": {
"syntax": "auto | text-bottom | alphabetic | ideographic | middle | central | mathematical | hanging | text-top"
Expand Down Expand Up @@ -1563,7 +1563,7 @@
"syntax": "auto | <length-percentage [0,∞]> | min-content | max-content | fit-content( <length-percentage [0,∞]> ) | <calc-size()> | <anchor-size()> | stretch | fit-content | contain"
},
"mix-blend-mode": {
"syntax": "<blend-mode> | plus-darker | plus-lighter"
"syntax": "<blend-mode> | plus-lighter"
},
"nav-down": {
"syntax": "auto | <id> [ current | root | <target-name> ]?"
Expand Down
Loading