Skip to content

Commit 2b4c2bd

Browse files
committed
Add patch for ed/css/css-gaps.json
Drop definition of `repeat()` function
1 parent d1f6cad commit 2b4c2bd

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

ed/csspatches/css-gaps.json.patch

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
From 39e6c07ed8e6b6c29aee9c1f50bd19769bbfbcde Mon Sep 17 00:00:00 2001
2+
From: Francois Daoust <[email protected]>
3+
Date: Tue, 17 Dec 2024 08:14:18 +0100
4+
Subject: [PATCH] Drop definition of `repeat()` function
5+
6+
The definition duplicates that in CSS Grid and it's not clear that is intended:
7+
https://github.com/w3c/csswg-drafts/issues/11385
8+
---
9+
ed/css/css-gaps.json | 6 ------
10+
1 file changed, 6 deletions(-)
11+
12+
diff --git a/ed/css/css-gaps.json b/ed/css/css-gaps.json
13+
index 134c3a09c..8eee3d090 100644
14+
--- a/ed/css/css-gaps.json
15+
+++ b/ed/css/css-gaps.json
16+
@@ -457,12 +457,6 @@
17+
"type": "type",
18+
"value": "repeat( auto , [ <line-width> ]+ )"
19+
},
20+
- {
21+
- "name": "repeat()",
22+
- "prose": "Such a list may contain repeat() notations. Similar to CSS Grid Layout 1 § 7.2.3 Repeating Rows and Columns: the repeat() notation, these notations allow a series of gap decorations that exhibit a recurring pattern to be written in a more compact form.",
23+
- "href": "https://drafts.csswg.org/css-gaps-1/#funcdef-repeat",
24+
- "type": "function"
25+
- },
26+
{
27+
"name": "<gap-rule-list>",
28+
"href": "https://drafts.csswg.org/css-gaps-1/#typedef-gap-rule-list",
29+
--
30+
2.37.1.windows.1
31+

0 commit comments

Comments
 (0)