Skip to content

feat(css): Update syntax for *-radial-gradient()#950

Merged
pepelsbey merged 2 commits intomdn:mainfrom
skyclouds2001:radial-gradient
Apr 4, 2025
Merged

feat(css): Update syntax for *-radial-gradient()#950
pepelsbey merged 2 commits intomdn:mainfrom
skyclouds2001:radial-gradient

Conversation

@skyclouds2001
Copy link
Contributor

Description

using <radial-gradient-syntax> to both present radial-gradient() and repeating-radial-gradient()
update <radial-gradient-syntax> syntax for supporting the new interpolation color space feature
renaming <ending-shape> to <radial-shape>, and renaming <size> to <radial-size>, to match the spec, and this does not change the definition at all
also, remove useless <ending-shape> and <size>, adding <radial-shape>

Motivation

Additional details

https://developer.mozilla.org/en-US/docs/Web/CSS/gradient/radial-gradient
https://developer.mozilla.org/en-US/docs/Web/CSS/gradient/repeating-radial-gradient
https://drafts.csswg.org/css-images-4/#radial-gradients
https://drafts.csswg.org/css-images-4/#repeating-gradients

Related issues and pull requests

Relates to stylelint/stylelint#8347

@skyclouds2001 skyclouds2001 marked this pull request as ready for review March 23, 2025 14:29
@skyclouds2001 skyclouds2001 requested a review from a team as a code owner March 23, 2025 14:29
@skyclouds2001 skyclouds2001 requested review from pepelsbey and removed request for a team March 23, 2025 14:29
Copy link
Member

@pepelsbey pepelsbey left a comment

Choose a reason for hiding this comment

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

Looks good! Thank you :)

@pepelsbey pepelsbey merged commit f9066d3 into mdn:main Apr 4, 2025
1 check passed
@skyclouds2001 skyclouds2001 deleted the radial-gradient branch April 4, 2025 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants