Re: magic corner gradient revisited

On Tue, Aug 9, 2011 at 8:12 AM, Brad Kemper <> wrote:
> On Aug 9, 2011, at 7:51 AM, Tab Atkins Jr. wrote:
>> On Tue, Aug 9, 2011 at 6:04 AM, Florian Rivoal <> wrote:
>>>> It may be omitted; if so, it defaults to "to bottom".
>>> I am somewhat uncomfortable with having the direction when everything is
>>> omitted be different from 0 deg, but the current wording makes it equivalent
>>> to 180 deg.
>> That's been the behavior for forever.  I based it off the fact that
>> the plurality of linear gradients on the web were vertical, and it
>> seemed most natural to have the colors start at the top rather than
>> the bottom.  I'd rather not change it unless there's a very good
>> reason.
> Given that 0deg = up, it does seem more intuitive that the default direction should be 'to top', which is still vertical. I agree that it seems more natural to start at the top, but only in the same way that it seems more natural to me to say 'from top' than 'to bottom' (start with an edge and move towards the other edge). But if we don't have 'from top' syntax, then it is no longer natural to have 'to bottom' be the default. And now is the best time to change it, since the syntax is changing too (less breakage if there are prefixed versions changing).

All right, I'll bring this up at the call tomorrow as one of the final
gradient issues.


Received on Tuesday, 9 August 2011 16:09:17 UTC