Skip to content

Conversation

@yisibl
Copy link
Contributor

@yisibl yisibl commented Apr 14, 2025

Summary

In the original PR #26062, the following three gradient functions were missed:

  • repeating-conic-gradient()
  • repeating-linear-gradient()
  • repeating-radial-gradient()

Example

.test {
  background: repeating-conic-gradient(red);
}

Fixes: #26264

@github-actions github-actions bot added data:css Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS size:l [PR only] 101-1000 LoC changed labels Apr 14, 2025
In the original PR mdn#26062, the following three gradient functions were missed:

- repeating-conic-gradient()
- repeating-linear-gradient()
- repeating-radial-gradient()

```css
.test {
  background: repeating-conic-gradient(red);
}
```
@yisibl yisibl force-pushed the add-single_color_stop-to-repeating-gradient branch from 47ef086 to 33e5d9e Compare April 14, 2025 14:42
@yisibl
Copy link
Contributor Author

yisibl commented Apr 14, 2025

@Elchi3 Do we have a way to reuse single_color_stop? Right now it needs to be defined over and over again in each place.

@Elchi3
Copy link
Member

Elchi3 commented Apr 15, 2025

Right now we don't have a way to reuse data, sorry!

Copy link
Contributor

@caugner caugner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

image

@caugner caugner changed the title Add single_color_stop to repeating-conic/linear/radial-gradient() Add single_color_stop to repeating-{conic,linear,radial}-gradient() Apr 15, 2025
@caugner caugner enabled auto-merge (squash) April 15, 2025 12:18
@caugner caugner merged commit 359f09e into mdn:main Apr 15, 2025
5 checks passed
@mdn-bot mdn-bot mentioned this pull request Apr 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data:css Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS size:l [PR only] 101-1000 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Single stop gradients supported in repeating- gradient variants

3 participants