Skip to content

Commit a0880e3

Browse files
authored
css-syntax-patches-for-csstree (#1792)
1 parent 250fb88 commit a0880e3

19 files changed

Lines changed: 1156 additions & 4676 deletions

package-lock.json

Lines changed: 11 additions & 18 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 (minor)
4+
5+
- Update `csstree` to [`v3.2.1`](https://github.com/csstree/csstree/releases/tag/v3.2.1)
6+
- Update `@webref/css` to [`v8.4.0`](https://github.com/w3c/webref/releases/tag/%40webref%2Fcss%408.4.0)
7+
38
### 1.0.29
49

510
_March 2, 2026_

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

Lines changed: 35 additions & 215 deletions
Large diffs are not rendered by default.

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@
3333
"dist"
3434
],
3535
"devDependencies": {
36-
"@webref/css": "8.3.0",
37-
"css-tree": "^3.1.0",
36+
"@webref/css": "8.4.0",
37+
"css-tree": "^3.2.1",
3838
"postcss": "^8.4"
3939
},
4040
"scripts": {
41-
"build": "node ./scripts/index.mjs",
41+
"build": "node --stack-trace-limit=1000 ./scripts/index.mjs",
4242
"lint": "node ../../.github/bin/format-package-json.mjs",
4343
"prepublishOnly": "npm run build && npm run test",
4444
"test": "node --test"

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

Lines changed: 3 additions & 81 deletions
Original file line numberDiff line numberDiff line change
@@ -50,32 +50,6 @@
5050
}
5151
}
5252
},
53-
"counter-style": {
54-
"descriptors": {
55-
"additive-symbols": {
56-
"type": "modified",
57-
"comment": "",
58-
"syntax-b": "[ <integer> && <symbol> ]#",
59-
"syntax-a": "[ <integer [0,∞]> && <symbol> ]#",
60-
"syntax-m": "[ <integer [0,∞]> && <symbol> ]#",
61-
"tests": {
62-
"passing": [],
63-
"failing": []
64-
}
65-
},
66-
"pad": {
67-
"type": "modified",
68-
"comment": "",
69-
"syntax-b": "<integer> && <symbol>",
70-
"syntax-a": "<integer [0,∞]> && <symbol>",
71-
"syntax-m": "<integer [0,∞]> && <symbol>",
72-
"tests": {
73-
"passing": [],
74-
"failing": []
75-
}
76-
}
77-
}
78-
},
7953
"font-face": {
8054
"descriptors": {
8155
"ascent-override": {
@@ -100,17 +74,6 @@
10074
"failing": []
10175
}
10276
},
103-
"font-display": {
104-
"type": "modified",
105-
"comment": "",
106-
"syntax-b": "[ auto | block | swap | fallback | optional ]",
107-
"syntax-a": "auto | block | swap | fallback | optional",
108-
"syntax-m": "[ auto | block | swap | fallback | optional ]",
109-
"tests": {
110-
"passing": [],
111-
"failing": []
112-
}
113-
},
11477
"font-language-override": {
11578
"type": "added",
11679
"comment": "",
@@ -313,21 +276,6 @@
313276
}
314277
}
315278
},
316-
"font-palette-values": {
317-
"descriptors": {
318-
"override-colors": {
319-
"type": "modified",
320-
"comment": "",
321-
"syntax-b": "[ <integer [0,∞]> <absolute-color-base> ]#",
322-
"syntax-a": "[ <integer [0,∞]> <color> ]#",
323-
"syntax-m": "[ <integer [0,∞]> <color> ]#",
324-
"tests": {
325-
"passing": [],
326-
"failing": []
327-
}
328-
}
329-
}
330-
},
331279
"function": {
332280
"descriptors": {
333281
"result": {
@@ -345,38 +293,12 @@
345293
},
346294
"page": {
347295
"descriptors": {
348-
"size": {
349-
"type": "modified",
350-
"comment": "",
351-
"syntax-b": "<length>{1,2} | auto | [ <page-size> || [ portrait | landscape ] ]",
352-
"syntax-a": "<length [0,∞]>{1,2} | auto | [ <page-size> || [ portrait | landscape ] ]",
353-
"syntax-m": "<length [0,∞]>{1,2} | auto | [ <page-size> || [ portrait | landscape ] ]",
354-
"tests": {
355-
"passing": [],
356-
"failing": []
357-
}
358-
}
359-
}
360-
},
361-
"view-transition": {
362-
"descriptors": {
363-
"navigation": {
364-
"type": "added",
365-
"comment": "",
366-
"syntax-b": "",
367-
"syntax-a": "auto | none",
368-
"syntax-m": "auto | none",
369-
"tests": {
370-
"passing": [],
371-
"failing": []
372-
}
373-
},
374-
"types": {
296+
"page-margin-safety": {
375297
"type": "added",
376298
"comment": "",
377299
"syntax-b": "",
378-
"syntax-a": "none | <custom-ident>+",
379-
"syntax-m": "none | <custom-ident>+",
300+
"syntax-a": "none | clamp | add",
301+
"syntax-m": "none | clamp | add",
380302
"tests": {
381303
"passing": [],
382304
"failing": []

0 commit comments

Comments
 (0)