Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions ed/csspatches/css-gaps.json.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
From 39e6c07ed8e6b6c29aee9c1f50bd19769bbfbcde Mon Sep 17 00:00:00 2001
From: Francois Daoust <[email protected]>
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 , [ <line-width> ]+ )"
},
- {
- "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": "<gap-rule-list>",
"href": "https://drafts.csswg.org/css-gaps-1/#typedef-gap-rule-list",
--
2.37.1.windows.1

4 changes: 4 additions & 0 deletions tools/drop-css-property-duplicates.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading