Skip to content

[css-color-5] Does <hue-interpolation-method> always default to shorter hue? #13788

Closed

Description

@cdoublev

shorter hue must be assumed when omitted after <polar-color-space>, in the serialization algo for <color-mix()> in a declared value.

Does this apply in other contexts? (color-interpolate(), gradients, palette-mix())

If so, wouldn't it be appropriate to define this explicitly in § 9.1. Color Space for Interpolation?

Activity

  1. self-assigned this
    on Apr 10, 2026
  2. svgeesus commented on Apr 13, 2026

    @svgeesus
    Collaborator

    This was already specified in CSS Color 4:

    Unless otherwise specified, if no specific hue interpolation algorithm is selected by the host syntax, the default is shorter.

    However, to make things clearer, I

    • added a mention of this in the main Color interpolation section of CSS Color 4
    • added a backlink from CSS Color 5 to the definitions in CSS Color 4

    In general, this sort of issue is a consequence of CSS Color 5 being a diff spec.

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions