W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2016

[csswg-drafts] [css-color] out of range lab and lch values

From: Chris Lilley via GitHub <sysbot+gh@w3.org>
Date: Sun, 10 Jul 2016 09:43:50 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-164708103-1468143828-sysbot+gh@w3.org>
svgeesus has just created a new issue for 
https://github.com/w3c/csswg-drafts:

== [css-color] out of range lab and lch values ==
https://drafts.csswg.org/css-color/#specifying-lab-lch
> Need to define handling for out of range numbers. Clip L, wrap H? 
Have also seen L up to 400, specifically for high dynamic range 
situations.

I propose that css-color-4 leaves high dynamic range out of scope. 
Addressing it requires looking at color re-rendering, which is complex
 and should be left to a later version when there is more industry 
experience to draw upon.

Given that, it is clear that L should be **clamped** to the 0 to 100 
range, that H should be **wrapped** to the 0 to 360 range, that C 
should have _negative_ values **clamped** to 0 and that a, b are 
unbounded.


Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/289 using your GitHub 
account
Received on Sunday, 10 July 2016 09:43:58 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:00 UTC