diff --git a/ed/csspatches/css-gaps.json.patch b/ed/csspatches/css-gaps.json.patch new file mode 100644 index 000000000000..cde161e72944 --- /dev/null +++ b/ed/csspatches/css-gaps.json.patch @@ -0,0 +1,31 @@ +From 39e6c07ed8e6b6c29aee9c1f50bd19769bbfbcde Mon Sep 17 00:00:00 2001 +From: Francois Daoust +Date: Tue, 17 Dec 2024 08:14:18 +0100 +Subject: [PATCH] Drop definition of `repeat()` function + +The definition duplicates that in CSS Grid and it's not clear that is intended: +https://github.com/w3c/csswg-drafts/issues/11385 +--- + ed/css/css-gaps.json | 6 ------ + 1 file changed, 6 deletions(-) + +diff --git a/ed/css/css-gaps.json b/ed/css/css-gaps.json +index 134c3a09c..8eee3d090 100644 +--- a/ed/css/css-gaps.json ++++ b/ed/css/css-gaps.json +@@ -457,12 +457,6 @@ + "type": "type", + "value": "repeat( auto , [ ]+ )" + }, +- { +- "name": "repeat()", +- "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.", +- "href": "https://drafts.csswg.org/css-gaps-1/#funcdef-repeat", +- "type": "function" +- }, + { + "name": "", + "href": "https://drafts.csswg.org/css-gaps-1/#typedef-gap-rule-list", +-- +2.37.1.windows.1 + diff --git a/tools/drop-css-property-duplicates.js b/tools/drop-css-property-duplicates.js index 5aa9e277c7f0..1b2af9092a43 100644 --- a/tools/drop-css-property-duplicates.js +++ b/tools/drop-css-property-duplicates.js @@ -86,6 +86,10 @@ const supersededBy = { // https://drafts.csswg.org/css-color-hdr/#color-function 'css-color': 'css-color-hdr', + // CSS Gap Decorations supersedes CSS Multi-column layout + // https://drafts.csswg.org/css-gaps-1/#color-style-width + 'css-multicol': 'css-gaps', + // See note in https://svgwg.org/specs/strokes/#sotd // "In the future, this specification will supersede the SVG 2 Stroke // definition, however at this time the SVG 2 Stroke definition must be