Skip to content

[css-color-4] "Whitespace" is undefined in the grammar #14786

Closed

Description

@xfq

https://www.w3.org/TR/css-color-4/#color-syntax-modern

color components are separated by whitespace

Color 4 does not define "whitespace" or normatively reference the CSS Syntax definition. For CSS processors, the definition is inherited. For §4.5’s standalone parsers, the term is ambiguous. For example, copy-pasted or localized text may contain U+2009 THIN SPACE or U+3000 IDEOGRAPHIC SPACE.

A one-sentence definition or a normative reference can remove the ambiguity.

See also https://w3c.github.io/bp-i18n-specdev/#char_whitespace

Activity

  1. added
    i18n-needs-resolutionIssue the Internationalization Group has raised and looks for a response on.
    on Nov 12, 2026
  2. svgeesus commented on Nov 12, 2026

    @svgeesus
    Collaborator

    Thanks.

    My first thought was to use the WhatWG Infra definition of ASCII whitespace but I see that the CSS Syntax 3 definition of whitespace is more restricted, so I guess we should use that.

  3. self-assigned this
    on Nov 12, 2026
  4. svgeesus commented on Nov 12, 2026

    @svgeesus
    Collaborator
  5. svgeesus commented on Nov 17, 2026

    @svgeesus
    Collaborator
  6. xfq commented on Nov 18, 2026

    @xfq
    MemberAuthor

    Thanks! Looks good to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Closed Accepted as Obvious BugfixFixed an obvious error with the obvious solution.Commenter SatisfiedCommenter has indicated satisfaction with the resolution / edits.css-color-4Current Worki18n-needs-resolutionIssue the Internationalization Group has raised and looks for a response on.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    ⌂ 换网址