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

RE: [css3-images] linear-gradient keywords and angles are opposite

From: Brian Manthos <brianman@microsoft.com>
Date: Fri, 10 Jun 2011 06:45:17 +0000
To: Brad Kemper <brad.kemper@gmail.com>
CC: Simon Fraser <smfr@me.com>, fantasai <fantasai.lists@inkedblade.net>, "www-style@w3.org" <www-style@w3.org>
Message-ID: <FA122FEC823D524CB516E4E0374D9DCF1FB1873B@TK5EX14MBXC136.redmond.corp.microsoft.com>
Brad Kemper:
> The keywords and the measurement of degrees are two different ways to
> end up with a direction. They are obviously different from each other.
> Since they are two different animals, it should not be surprising that
> they act differently. I don't see the problem.

Again, we disagree.  They are not obviously different from each other.

Two fields, in the same location of the same functional syntax, with the same role.

Assertion:  Should not have opposite effects.



If you'd like to split linear-gradient into...

linear-gradient-with-direction(27deg, red, blue);
linear-gradient-that-starts-from(left, red, blue);

...then your approach makes more sense to me, and isn't inconsistent with itself.
Received on Friday, 10 June 2011 06:45:45 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:41 GMT