8000 [css-fonts] [palettes] Remove the none value from font-palette · Issue #6622 · w3c/csswg-drafts · GitHub
[go: up one dir, main page]

Skip to content

[css-fonts] [palettes] Remove the none value from font-palette #6622

@litherum

Description

@litherum

There are a few reasons to remove it:

  1. It's unimplementable on Core Text.
  2. It was added without WG input.
  3. Clearly the font creator wants their clients to use the font's color facilities; otherwise they would not have created them.
  4. One of the motivations for adding it is false: "Both SVG and COLR fonts must have a regular, uncolored glyph outline available." This is untrue - the fallback might have 0 contours. Many (perhaps even "most"!) of the color fonts we've seen have no outline fallback.
  5. Another motivation was misplaced: "Many glyphs in the "emoji" range will only exist in a font with color capabilities" We already have two mechanisms for selecting non-color emoji: both variation selectors and https://drafts.csswg.org/css-fonts/#font-variant-emoji-prop. Text-style emoji is handled with font fallback, not displaying otherwise-unobservable contours inside fonts.
  6. If the page author wants a non-color rendering, they can use a non-color font.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0