[css3-background] Box-shadow spread with border-radius from fantasai on 2014-08-13 (www-style@w3.org from August 2014) (original) (raw)

On 04/11/2014 11:36 AM, Bert Bos wrote:

I've done an "implementation" of the corrected paragraph from the editors' draft and tested various values of border radius and spread (big, small, positive, negative) and it appears to be correct.

While writing the two conditions for negative spread and small ratio, I noticed, however, that it's actually just one condition: one can replace the two phrases

 when the ratio r of a border radius to the spread distance is less than
 one

and does not apply to negative spread distances by when the border radius is less than the spread distance

because the border radius is always greater than or equal to 0.

Nice! It's now fixed in the draft. Hopefully it's equally clear. :)

~fantasai

Received on Wednesday, 13 August 2014 21:16:39 UTC