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

Re: magic corner gradient revisited

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 8 Aug 2011 09:38:28 -0700
Message-ID: <CAAWBYDBATPQ59hyrRD0=jgrfBbPkK1U=0HrgqYT8YBY12ZZ8ig@mail.gmail.com>
To: Brian Manthos <brianman@microsoft.com>
Cc: Brad Kemper <brad.kemper@gmail.com>, fantasai <fantasai.lists@inkedblade.net>, www-style list <www-style@w3.org>
On Thu, Aug 4, 2011 at 2:47 PM, Brian Manthos <brianman@microsoft.com> wrote:
> Ok, so your concern is whether we should change how the angle syntax renders?
>
> Because "strictly corner-to-corner or side-to-side" is all that CSS3 Gradients keywords have represented since I've started looking at the EDs/WDs.
>
> My proposal was to produce the "magic rendering" by mapping the side and corner keyword syntax to an angle appropriate for the ratio of the associated box, and then rendering *exactly* with the angle algorithm that's already documented in the spec.
>
> Presumably I'm missing something w/r/t your consternation.

No, my concern was simply that we might back ourselves into a corner,
syntax-wise, by addressing magic corners in the simplest possible
manner.

Though, if something like "to top left" is acceptable, I'll go ahead
and do it.  You'd better pass the testsuite, though.  ^_^

~TJ
Received on Monday, 8 August 2011 16:39:15 GMT

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