Skip to content

feat(css): Update syntax for gradient related features#949

Merged
pepelsbey merged 1 commit intomdn:mainfrom
skyclouds2001:gradient
Apr 4, 2025
Merged

feat(css): Update syntax for gradient related features#949
pepelsbey merged 1 commit intomdn:mainfrom
skyclouds2001:gradient

Conversation

@skyclouds2001
Copy link
Contributor

@skyclouds2001 skyclouds2001 commented Mar 23, 2025

Description

for <angular-color-hint> and <color-stop-angle>, add support for the new <zero> type support
for <color-stop-list> and <angular-color-stop-list>, this is a synxta simplify and equally change
fix syntax of <angular-color-stop>, as && allow two values appears in any order, but the two values must appear in the exact order

Motivation

Additional details

https://drafts.csswg.org/css-images-4/#typedef-color-stop-list
https://drafts.csswg.org/css-images-4/#typedef-angular-color-stop-list

Related issues and pull requests

Relates to stylelint/stylelint#8347

@skyclouds2001 skyclouds2001 marked this pull request as ready for review March 23, 2025 13:17
@skyclouds2001 skyclouds2001 requested a review from a team as a code owner March 23, 2025 13:17
@skyclouds2001 skyclouds2001 requested review from pepelsbey and removed request for a team March 23, 2025 13:17
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 503b88f into mdn:main Apr 4, 2025
1 check passed
@skyclouds2001 skyclouds2001 deleted the 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

Comments