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

Formal syntax doesn't show values from other spces #11607

Open
3 tasks done
OnkarRuikar opened this issue Aug 8, 2024 · 1 comment
Open
3 tasks done

Formal syntax doesn't show values from other spces #11607

OnkarRuikar opened this issue Aug 8, 2024 · 1 comment
Labels
idle macros:CSSSyntax Issues related to Formal syntax on hold Waiting on something else before this can be moved forward. p2 We want to address this but may have other higher priority items.

Comments

@OnkarRuikar
Copy link
Contributor

OnkarRuikar commented Aug 8, 2024

Summary

Formal syntax on CSS sizing property width, max-width, min-width etc. pages do not accumulate values from all the specs.

URL

https://developer.mozilla.org/en-US/docs/Web/CSS/width#formal_syntax

Reproduction steps

  1. Open page https://developer.mozilla.org/en-US/docs/Web/CSS/width#formal_syntax
  2. Observe the Formal Syntax section
  3. Then observe BCD table at the bottom
  4. The BCD table lists values like stretch and anchor-size() which are not there in the Formal Syntax.

Expected behavior

In sizing properties cases, the formal syntaxes should accumulate value syntaxes from all the spec webref jsons:

Also, in the case of all other feature syntaxes, accumulate value syntaxes from all the available specs jsons.

Actual behavior

The Formal Syntax section shows only the syntax from css-sizing.json.

Anything else?

I've raised an issue in Webref to map sizing properties to the anchor-size() value.

Validations

@github-actions github-actions bot added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Aug 8, 2024
@caugner caugner added macros:CSSSyntax Issues related to Formal syntax p2 We want to address this but may have other higher priority items. on hold Waiting on something else before this can be moved forward. and removed needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. labels Sep 6, 2024
@caugner
Copy link
Contributor

caugner commented Sep 10, 2024

Good catch, we should show all values, such as stretch for width, but we're holding off on fixing this until rari is integrated in yari, which replaces the current CSSSyntax macro implementation.

@github-actions github-actions bot added the idle label Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
idle macros:CSSSyntax Issues related to Formal syntax on hold Waiting on something else before this can be moved forward. p2 We want to address this but may have other higher priority items.
Projects
None yet
Development

No branches or pull requests

2 participants