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

@font-face src descriptor: format() not sufficiently defined #21895

Closed
estelle opened this issue Oct 28, 2022 · 2 comments
Closed

@font-face src descriptor: format() not sufficiently defined #21895

estelle opened this issue Oct 28, 2022 · 2 comments
Labels
Content:CSS Cascading Style Sheets docs

Comments

@estelle
Copy link
Member

estelle commented Oct 28, 2022

MDN URL

https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/src

What specific section or headline is this issue about?

format() function

What information was incorrect, unhelpful, or incomplete?

very little information was provided, not even the potential values included in the spec.

What did you expect to see?

Everything that is in the spec, explained

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

https://www.w3.org/TR/css-fonts-4/#font-face-src-parsing

There is much more information in the spec that is not on this page:

<url> [ format(<font-format>)]? [ tech( <font-tech>#)]? | local(<font-face-name>)
<font-format>= [<string> | collection | embedded-opentype | opentype
 | svg | truetype | woff | woff2 ]
<font-tech>= [<font-feature-tech> | <color-font-tech>
 | variations | palettes | incremental ]
<font-feature-tech>= [feature-opentype | feature-aat | feature-graphite]
<color-font-tech>= [color-COLRv0 | color-COLRv1 | color-SVG | color-sbix | color-CBDT ]

Do you have anything more you want to share?

No response

MDN metadata

Page report details
@github-actions github-actions bot added Content:CSS Cascading Style Sheets docs needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. labels Oct 28, 2022
@hamishwillee
Copy link
Collaborator

hamishwillee commented Oct 28, 2022

True. When I looked at tech() in August #19833 this was not released in any browser (just behind pref). Normally we'd document anyway, but there was still a lot of spec discussion around the syntax. That might have settled now.

This will get documented when Firefox ships with the preference removed unless someone else does it first.

Or to put it another way @estelle do you know that the discussion has settled and this could be documented safely now without too much churn?

@sideshowbarker sideshowbarker removed the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Oct 28, 2022
@estelle
Copy link
Member Author

estelle commented Nov 2, 2022

Yes, I think it could be safely documented. I found the issue when i was working on another issue, and wanted to document that there is an issue. Would be great to have the actual issue - the format() - documented / addressed

@estelle estelle closed this as completed Jan 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:CSS Cascading Style Sheets docs
Projects
None yet
Development

No branches or pull requests

3 participants