CSS repeat() function: page rewrite - #44601
Merged
Merged
Conversation
Contributor
|
Preview URLs (1 page) Flaws (8) Found an unexpected or unresolvable flaw? Please report it here. URL:
(comment last updated: 2026-07-24 10:18:11) |
hamishwillee
reviewed
Jul 3, 2026
hamishwillee
reviewed
Jul 3, 2026
Co-authored-by: Hamish Willee <hamishwillee@gmail.com>
Co-authored-by: Hamish Willee <hamishwillee@gmail.com>
hamishwillee
approved these changes
Jul 24, 2026
hamishwillee
left a comment
Collaborator
There was a problem hiding this comment.
Thanks @estelle
I think this is good, though I find CSS challenging to review due to the density of information. In any case, approving with nit https://github.com/mdn/content/pull/44601/changes#r3642611221 for you to consider.
Co-authored-by: Hamish Willee <hamishwillee@gmail.com>
estelle
added a commit
to estelle/content
that referenced
this pull request
Jul 28, 2026
* start of repeat() rewrite * Rewrite CSS repeat() function * tweaks * typo * typo * Update files/en-us/web/css/reference/values/repeat/index.md Co-authored-by: Hamish Willee <hamishwillee@gmail.com> * Update files/en-us/web/css/reference/values/repeat/index.md Co-authored-by: Hamish Willee <hamishwillee@gmail.com> * Consistency fixes * edits per review * Update files/en-us/web/css/reference/values/repeat/index.md Co-authored-by: Hamish Willee <hamishwillee@gmail.com> --------- Co-authored-by: Hamish Willee <hamishwillee@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
repeat is no longer limited to grid. It can now be used from all the gap decoration properties.
spec: https://drafts.csswg.org/css-gaps-1/#lists-repeat
This work attempts to reduce much of the property-specific language and expand the value type to include repeat and auto-repeat for properties that accept comma separated lists of values
Part of openwebdocs/project#238
<line-width>is added in #44597the gap decoration properties will be added soon.