[csswg-drafts] [css-color-4] Device-independent color definitions (#8065)

GPHemsley has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-color-4] Device-independent color definitions ==
The sections on [device-independent colors](https://w3c.github.io/csswg-drafts/css-color-4/#lab-colors) (Lab/LCH/OkLab/OkLCH) seems to intermingle normative and informative prose, making it hard to distinguish what is needed for implementation and what is simply a history lesson.

This then has a knock-on effect on the actual syntax of the functions, because certain concepts are either silently alluded to or are unspecified altogether, in both cases assuming too much about the reader's familiarity with the concepts and thus ability to fill in the gaps.

For example:
* How are `<number>` values to be interpreted? Everything but the grammar itself talks only about percentages.
* What are the additional tables of "Percentages" and "Percent reference range" meant to be used for? The data there is either redundant with or not directly referenced by the definition.
* Terms like "Lightness" and abbreviations/variables like "L" seem to be used interchangeably throughout the definitions, which makes it hard to keep track of what values are used where.

Can this section be clarified more to differentiate parsing vs. processing, and otherwise focus on the aspects related to implementation? More linked terms may also help.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8065 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Saturday, 12 November 2022 00:39:30 UTC