W3C home > Mailing lists > Public > www-style@w3.org > August 2009

RE: Gradient syntax proposal

From: David Perrell <davidp@hpaa.com>
Date: Wed, 19 Aug 2009 11:50:33 -0700
To: <www-style@w3.org>
Message-ID: <HIEDLECHAFDEPLGKECDDEENOAMAB.davidp@hpaa.com>
Tab Atkins Jr. wrote:
| Obviously you *can* do that with two gradients, but it might be useful
| to make that just part of the normal syntax.  That would eliminate
| completely the primary cause of misordered points, and might indeed be
| better in general.  Hrm.
| 
| I'll think on this.  In the meantime, any *more* examples?

Maybe. I have one in mind comparing degradation.

I agree a slash shouldn't be doing double duty on one line. A single calc() suffices to set a point from end-of-gradient and would typically be the only one needed. Other lengths would be relative to that (and, if percentages applied to the span between lengths, percentages would be relative to that as well).

Please, no 'end()'!!

David Perrell
http://hpaa.com
Received on Wednesday, 19 August 2009 18:51:52 GMT

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