Skip to content

Commit 2941b4b

Browse files
committed
css-syntax-patches-for-csstree: update webref/css
1 parent 70bdd3b commit 2941b4b

11 files changed

Lines changed: 273 additions & 128 deletions

package-lock.json

Lines changed: 24 additions & 2 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: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changes to CSS Syntax Patches For CSSTree
22

3+
### Unreleased (patch)
4+
5+
- Update `@webref/css` to [`v8.0.2`](https://github.com/w3c/webref/releases/tag/%40webref%2Fcss%408.0.2)
6+
7+
38
### 1.0.16
49

510
_November 11, 2025_

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

Lines changed: 21 additions & 16 deletions
Large diffs are not rendered by default.

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.0.1",
39+
"@webref/css": "8.0.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: 46 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"type": "modified",
44
"comment": "",
55
"syntax-b": "normal | stretch | <baseline-position> | [ <overflow-position>? <self-position> ]",
6-
"syntax-a": "normal | stretch | <baseline-position> | [ <overflow-position>? <self-position> ] | anchor-center | dialog",
7-
"syntax-m": "normal | stretch | <baseline-position> | [ <overflow-position>? <self-position> ] | anchor-center | dialog",
6+
"syntax-a": "normal | stretch | <baseline-position> | <overflow-position>? <self-position> | anchor-center",
7+
"syntax-m": "normal | stretch | <baseline-position> | [ <overflow-position>? <self-position> ] | anchor-center",
88
"tests": {
99
"passing": [
1010
{
@@ -24,8 +24,8 @@
2424
"type": "modified",
2525
"comment": "",
2626
"syntax-b": "auto | normal | stretch | <baseline-position> | <overflow-position>? <self-position>",
27-
"syntax-a": "auto | normal | stretch | <baseline-position> | <overflow-position>? <self-position> | anchor-center | dialog",
28-
"syntax-m": "auto | normal | stretch | <baseline-position> | <overflow-position>? <self-position> | anchor-center | dialog",
27+
"syntax-a": "auto | normal | stretch | <baseline-position> | <overflow-position>? <self-position> | anchor-center",
28+
"syntax-m": "auto | normal | stretch | <baseline-position> | <overflow-position>? <self-position> | anchor-center",
2929
"tests": {
3030
"passing": [
3131
{
@@ -62,6 +62,17 @@
6262
"failing": []
6363
}
6464
},
65+
"all": {
66+
"type": "modified",
67+
"comment": "",
68+
"syntax-b": "initial | inherit | unset | revert | revert-layer",
69+
"syntax-a": "initial | inherit | unset | revert | revert-layer | revert-rule",
70+
"syntax-m": " | revert-rule",
71+
"tests": {
72+
"passing": [],
73+
"failing": []
74+
}
75+
},
6576
"animation-duration": {
6677
"type": "modified",
6778
"comment": "",
@@ -807,8 +818,8 @@
807818
"type": "modified",
808819
"comment": "",
809820
"syntax-b": "<length-percentage>{1,2}",
810-
"syntax-a": "<length-percentage [0,∞]>{1,2}",
811-
"syntax-m": "<length-percentage [0,∞]>{1,2}",
821+
"syntax-a": "<border-radius>",
822+
"syntax-m": "<border-radius>",
812823
"tests": {
813824
"passing": [],
814825
"failing": []
@@ -829,8 +840,8 @@
829840
"type": "modified",
830841
"comment": "",
831842
"syntax-b": "<length-percentage>{1,2}",
832-
"syntax-a": "<length-percentage [0,∞]>{1,2}",
833-
"syntax-m": "<length-percentage [0,∞]>{1,2}",
843+
"syntax-a": "<border-radius>",
844+
"syntax-m": "<border-radius>",
834845
"tests": {
835846
"passing": [],
836847
"failing": []
@@ -898,8 +909,8 @@
898909
"type": "modified",
899910
"comment": "",
900911
"syntax-b": "<length-percentage>{1,2}",
901-
"syntax-a": "<length-percentage [0,∞]>{1,2}",
902-
"syntax-m": "<length-percentage [0,∞]>{1,2}",
912+
"syntax-a": "<border-radius>",
913+
"syntax-m": "<border-radius>",
903914
"tests": {
904915
"passing": [
905916
{
@@ -929,8 +940,8 @@
929940
"type": "modified",
930941
"comment": "",
931942
"syntax-b": "<length-percentage>{1,2}",
932-
"syntax-a": "<length-percentage [0,∞]>{1,2}",
933-
"syntax-m": "<length-percentage [0,∞]>{1,2}",
943+
"syntax-a": "<border-radius>",
944+
"syntax-m": "<border-radius>",
934945
"tests": {
935946
"passing": [
936947
{
@@ -1311,8 +1322,8 @@
13111322
"type": "modified",
13121323
"comment": "",
13131324
"syntax-b": "<length-percentage>{1,2}",
1314-
"syntax-a": "<length-percentage [0,∞]>{1,2}",
1315-
"syntax-m": "<length-percentage [0,∞]>{1,2}",
1325+
"syntax-a": "<border-radius>",
1326+
"syntax-m": "<border-radius>",
13161327
"tests": {
13171328
"passing": [
13181329
{
@@ -1342,8 +1353,8 @@
13421353
"type": "modified",
13431354
"comment": "",
13441355
"syntax-b": "<length-percentage>{1,2}",
1345-
"syntax-a": "<length-percentage [0,∞]>{1,2}",
1346-
"syntax-m": "<length-percentage [0,∞]>{1,2}",
1356+
"syntax-a": "<border-radius>",
1357+
"syntax-m": "<border-radius>",
13471358
"tests": {
13481359
"passing": [
13491360
{
@@ -1406,8 +1417,8 @@
14061417
"type": "modified",
14071418
"comment": "",
14081419
"syntax-b": "<length-percentage>{1,2}",
1409-
"syntax-a": "<length-percentage [0,∞]>{1,2}",
1410-
"syntax-m": "<length-percentage [0,∞]>{1,2}",
1420+
"syntax-a": "<border-radius>",
1421+
"syntax-m": "<border-radius>",
14111422
"tests": {
14121423
"passing": [
14131424
{
@@ -1448,8 +1459,8 @@
14481459
"type": "modified",
14491460
"comment": "",
14501461
"syntax-b": "<length-percentage>{1,2}",
1451-
"syntax-a": "<length-percentage [0,∞]>{1,2}",
1452-
"syntax-m": "<length-percentage [0,∞]>{1,2}",
1462+
"syntax-a": "<border-radius>",
1463+
"syntax-m": "<border-radius>",
14531464
"tests": {
14541465
"passing": [
14551466
{
@@ -3306,8 +3317,8 @@
33063317
"type": "modified",
33073318
"comment": "",
33083319
"syntax-b": "normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ] | legacy | legacy && [ left | right | center ]",
3309-
"syntax-a": "normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ] | legacy | legacy && [ left | right | center ] | anchor-center | dialog",
3310-
"syntax-m": " | anchor-center | dialog",
3320+
"syntax-a": "normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ] | legacy | legacy && [ left | right | center ] | anchor-center",
3321+
"syntax-m": " | anchor-center",
33113322
"tests": {
33123323
"passing": [
33133324
{
@@ -3324,8 +3335,8 @@
33243335
"type": "modified",
33253336
"comment": "",
33263337
"syntax-b": "auto | normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ]",
3327-
"syntax-a": "auto | normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ] | anchor-center | dialog",
3328-
"syntax-m": " | anchor-center | dialog",
3338+
"syntax-a": "auto | normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ] | anchor-center",
3339+
"syntax-m": " | anchor-center",
33293340
"tests": {
33303341
"passing": [],
33313342
"failing": []
@@ -5279,6 +5290,17 @@
52795290
"failing": []
52805291
}
52815292
},
5293+
"text-decoration-inset": {
5294+
"type": "added",
5295+
"comment": "",
5296+
"syntax-b": "",
5297+
"syntax-a": "<length>{1,2} | auto",
5298+
"syntax-m": "<length>{1,2} | auto",
5299+
"tests": {
5300+
"passing": [],
5301+
"failing": []
5302+
}
5303+
},
52825304
"text-decoration-skip": {
52835305
"type": "modified",
52845306
"comment": "",
@@ -5345,17 +5367,6 @@
53455367
"failing": []
53465368
}
53475369
},
5348-
"text-decoration-trim": {
5349-
"type": "added",
5350-
"comment": "",
5351-
"syntax-b": "",
5352-
"syntax-a": "<length>{1,2} | auto",
5353-
"syntax-m": "<length>{1,2} | auto",
5354-
"tests": {
5355-
"passing": [],
5356-
"failing": []
5357-
}
5358-
},
53595370
"text-emphasis-position": {
53605371
"type": "modified",
53615372
"comment": "",

0 commit comments

Comments
 (0)