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

RE: [css3-images] Summary of recent gradient issues

From: Brian Manthos <brianman@microsoft.com>
Date: Fri, 17 Jun 2011 19:02:51 +0000
To: divya manian <divya.manian@gmail.com>
CC: Simon Fraser <smfr@me.com>, Brad Kemper <brad.kemper@gmail.com>, "Tab Atkins Jr." <jackalmage@gmail.com>, www-style list <www-style@w3.org>
Message-ID: <9710FCC2E88860489239BE0308AC5D1703A2DD@TK5EX14MBXC264.redmond.corp.microsoft.com>
I don’t get the metaphor.

RGB and HSL are two different functions.

Linear-gradient(<angle>…) and linear-gradient(keyword…) are not.

• Brian

From: divya manian [mailto:divya.manian@gmail.com]
Sent: Friday, June 17, 2011 11:47 AM
To: Brian Manthos
Cc: Simon Fraser; Brad Kemper; Tab Atkins Jr.; www-style list
Subject: Re: [css3-images] Summary of recent gradient issues

On Fri, Jun 17, 2011 at 11:00 AM, Brian Manthos <brianman@microsoft.com<mailto:brianman@microsoft.com>> wrote:
I never said it's hard to understand.  I said it's opposite from the way angles work, which is unnecessary and counter-intuitive.  Sure, it's explained away in the text but -- frankly -- you don't need the text crutch if you don't do it backwards.

The assertion that I made is that angles and keywords have nothing to do with each other. They both solve different problems within linear gradient functional notation.

Your statement is like suggesting hsla functional notation should follow the hex one because they somehow both refer to colors (it is a really bad metaphor, sorry).

A function can take on any argument and depending on the arguments passed, take different actions. I think web developers understand that (maybe not designers). Would using a keyword within the same functional notation help (like 'snap')?

Should we need whole new function just for this scenario, e.g. corner-linear-gradients()?
Received on Friday, 17 June 2011 19:03:21 GMT

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