Skip to content

[Not Release] [CSS] COLRv1 fonts supported #20106

@hamishwillee

Description

@hamishwillee

Acceptance Criteria

  • The listed features are documented sufficiently on MDN
  • BCD is updated
  • Interactive example and data repos are updated if appropriate
  • The content has been reviewed as needed

For folks helping with Firefox related documentation

  • Set bugs to dev-doc-complete
  • Add entry to Firefox release notes if feature is enabled in release
    or
  • Add entry to Firefox experimental features page if feature is not yet enabled in release

Features to document

Needs addition to experimental features page.

See Other for further research.

Related Gecko bugs

https://bugzilla.mozilla.org/show_bug.cgi?id=1740530

Other

So this allows you to apply colours, gradients etc to a font.

This is behind gfx.font_rendering.colr_v1.enabled. So minimally add to experimental features.

So this basically is support for using the colr v1 fonts in @font-face and `FontFace (i.e. using fonts that have color gradients etc). From the point of our existing docs we don't say very much about the different font tables and types of fonts and I don't think we need to. However we do need to indicate support for these features.

What has to be done is add the supported tables like colrv1 to BCD. Not all of them though, just the ones that can be feature checked in the @font-face src: descriptor's tech(...) syntax that FF is adding in #19833. This makes sense because tech() provides a fallback to a small subset, which are likely therefore to be the ones that have compatibility issues.

I don't think there is any particular need for docs on this though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Content:CSSCascading Style Sheets docsfx release archiveA closed issue relating to firefox release notes for developers.

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions