Skip to content

[css-color-5] Example 32 is outdated #14100

Description

@romainmenke

https://drafts.csswg.org/css-color-5/#example-dddffb4a

This example illustrates how the hue is preserved, even when the chroma is zero.
But this no longer works when following the latest spec.

As we now always have a powerless to missing step the hue becomes missing.
https://drafts.csswg.org/css-color-4/#color-conversion

The example follows these steps:

  1. lch(62.753 62.571 326.973)
  2. lch(from lch(62.753 62.571 326.973) l 0 h)
  3. lch(from lch(from lch(62.753 62.571 326.973) l 0 h) l 30 h)

Or:

  1. lch(62.753 62.571 326.973)
  2. lch(62.753 0 none)
  3. lch(62.753 30 none)

While the example has an outcome of lch(62.753 30 326.973) where the hue is preserved.

@svgeesus Is it correct that the example is outdated?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions