W3C home > Mailing lists > Public > www-style@w3.org > June 2013

Re: [css3-images] Helping implementers with math

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 18 Jun 2013 12:58:00 -0400
Message-ID: <51C09198.7020004@mit.edu>
To: www-style@w3.org
On 6/18/13 12:54 PM, Boris Zbarsky wrote:
> On 6/18/13 12:46 PM, Simon Sapin wrote:
>>      <code>abs(W * sin(A)) + abs(H * cos(A))</code>
>
> I feel like I must be missing something, since it looks to me like for A
> == 0 the correct answer for "half the size of the gradient line" is H/2...

Ah, I think you just gave the formula for the size of the gradient line, 
not for half of it.

-Boris
Received on Tuesday, 18 June 2013 16:58:29 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:12 UTC