Re: magic corner gradient revisited

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 UTC