-
Notifications
You must be signed in to change notification settings - Fork 22.5k
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 wrong #28900
Comments
This is because the algorithm we use to get the CSS syntax explicitly excludes numbered versions of the specs, and considers the unnumbered version to be the "current spec": mdn/yari#4656 (comment). I'm not sure if this is a good policy or not, though, and it's unfortunate that the policy is different in BCD, which supplies the URL that appears in the "Specifications" section :(. |
I've started a discussion -> https://github.com/orgs/mdn/discussions/442 |
It doesn't matter in this case, just for info, we are stuck on an 9 month old version of |
Yes, although as you say that is not relevant to this issue. I think it would be great if Yari extracted the csssyntax code to a separate package, and I have made a start at this in https://www.npmjs.com/package/query-css-syntax, which supports webref 6 and is what I am using for content embedding. But I don't know if Yari wants to do that. |
It would be really great if webref provided these easy retrieval APIs out of the box. |
There's a PR to upgrade to 6.0.0 here: |
We discussed it today. We agree that this is a problem we want to solve, but it is a complex one. So, we are closing this but in favor of the discussion at https://github.com/orgs/mdn/discussions/442 |
MDN URL
https://developer.mozilla.org/en-US/docs/Web/CSS/font-size-adjust
What specific section or headline is this issue about?
Formal syntax
What information was incorrect, unhelpful, or incomplete?
Formal syntax should optionally include ex-height | cap-height | ch-width | ic-width | ic-height
What did you expect to see?
See above
Do you have any supporting links, references, or citations?
View link given on page for reference
Do you have anything more you want to share?
No response
MDN metadata
Page report details
en-us/web/css/font-size-adjust
The text was updated successfully, but these errors were encountered: