Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gradient formal syntax is missing conic-gradient() and <repeating-conic-gradient()> #10963

Open
estelle opened this issue Apr 17, 2024 · 3 comments
Labels
🐛 bug Something isn't working, or isn't working as expected idle

Comments

@estelle
Copy link
Member

estelle commented Apr 17, 2024

MDN URL

https://developer.mozilla.org/en-US/docs/Web/CSS/gradient

What specific section or headline is this issue about?

formal syntax

What information was incorrect, unhelpful, or incomplete?

conic and repeating conic gradients are missing

What did you expect to see?

six gradient values in syntax (there are only four)

Do you have any supporting links, references, or citations?

No response

Do you have anything more you want to share?

No response

MDN metadata

Page report details
@github-actions github-actions bot added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Apr 17, 2024
@caugner
Copy link
Contributor

caugner commented Apr 19, 2024

This looks like a yari issue. It might be a limitation of yari itself or @webref/css doesn't include those values yet.

Actual

<gradient> = 
  <linear-gradient()>            |
  <repeating-linear-gradient()>  |
  <radial-gradient()>            |
  <repeating-radial-gradient()>

Expected

<gradient> = 
  <linear-gradient()>            |
  <repeating-linear-gradient()>  |
  <radial-gradient()>            |
  <repeating-radial-gradient()> |
  <conic-gradient()> |
  <repeating-conic-gradient()>

@caugner caugner changed the title gradient formal syntax is mssing conic gradients gradient formal syntax is missing conic-gradient() and <repeating-conic-gradient()> Apr 19, 2024
@caugner caugner transferred this issue from mdn/content Apr 19, 2024
@fiji-flo fiji-flo added 🐛 bug Something isn't working, or isn't working as expected and removed needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. labels Apr 22, 2024
@fiji-flo
Copy link
Contributor

This is not straight forward. It's in webref (https://github.com/w3c/webref/blob/418f3cf1e8ea1aaaec479ce18b739edb556ee7e3/ed/css/css-images-4.json#L167).

Fairly sure it's this line

// 2) If we have more than one spec, filter out specs that end "-n" where n is a number

I'm working an CSS Syntax as part of our build system refactoring and will address this in there.

@wbamberg
Copy link
Collaborator

wbamberg commented Apr 22, 2024

See also https://github.com/orgs/mdn/discussions/442. This is about ensuring the different parts of a CSS reference page (especially Syntax, Formal Syntax, and BCD) are consistent with each other, and is quite complicated.

@github-actions github-actions bot added the idle label May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working, or isn't working as expected idle
Projects
None yet
Development

No branches or pull requests

4 participants