Re: Gradient syntax proposal

Tab Atkins Jr. wrote:
> 
> (Not quite true, actually - now that I've allowed lengths in
> color-stops, it's possible for you to use "in" on one stop, "px" on
> another, and "em" on a third, thus producing an ordering that can vary
> wildly based on pixel size and text size.  At that point you're really
> digging your own grave, though - you can screw up your design in a
> million different ways by mixing different classes of lengths, and I
> don't feel it important to protect you from doing so in this one
> circumstance.  You still can't mix lengths and %, though, which would
> be the primary cause of order-switching, so I'm content.)

I would prefer restricting stops to percentages. The swapping effect
is confusing, and I don't see any reason you'd /need/ to use lengths
when you can specify the length of the overall gradient already.

~fantasai

Received on Monday, 17 August 2009 18:00:57 UTC