W3C home > Mailing lists > Public > www-style@w3.org > September 2011

[css3-background] should specify color space for box-shadow blurring

From: L. David Baron <dbaron@dbaron.org>
Date: Wed, 28 Sep 2011 16:06:25 -0700
To: www-style@w3.org
Message-ID: <20110928230625.GA27542@pickering.dbaron.org>
http://dev.w3.org/csswg/css3-background/#the-box-shadow should
specify what color space the blurring for box-shadow takes place in.
The value should probably be one of the values of:
i.e., sRGB or linearRGB.

I suspect existing implementations probably use sRGB (which Mozilla
does), but I could be wrong.  I recently wrote a test here:
which I realize is assuming that the answer is sRGB.  (I'm not sure
how many implementations do the blur radius calculation correctly
yet per our discussions last year for that test to be useful,


𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                           http://www.mozilla.org/   𝄂
Received on Wednesday, 28 September 2011 23:06:50 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:50 UTC