File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change 1+ From 08e6dfc7c8867571f0036f0ed0f1c199defc92ca Mon Sep 17 00:00:00 2001
2+ From: Francois Daoust <
[email protected] >
3+ Date: Fri, 20 Jun 2025 16:27:04 +0200
4+ Subject: [PATCH] Add grouping to please CSS parser
5+
6+ Syntax in the spec is valid, but CSSTree does not like it. This adds grouping
7+ to make the syntax valid for the parser, pending resolution of:
8+ https://github.com/csstree/csstree/issues/345
9+ ---
10+ ed/css/css-mixins.json | 2 +-
11+ 1 file changed, 1 insertion(+), 1 deletion(-)
12+
13+ diff --git a/ed/css/css-mixins.json b/ed/css/css-mixins.json
14+ index 5f542d6253..5208a76d77 100644
15+ --- a/ed/css/css-mixins.json
16+ +++ b/ed/css/css-mixins.json
17+ @@ -31,7 +31,7 @@
18+ "name": "@mixin",
19+ "href": "https://drafts.csswg.org/css-mixins-1/#at-ruledef-mixin",
20+ "descriptors": [],
21+ - "value": "@mixin <function-token> <function-parameter>#? , @contents? ) { <declaration-rule-list> }"
22+ + "value": "@mixin <function-token> <function-parameter>#? , [@contents]? ) { <declaration-rule-list> }"
23+ },
24+ {
25+ "name": "@contents",
26+ - -
27+ 2.37.1.windows.1
28+
You can’t perform that action at this time.
0 commit comments