Re: [css3-background] color transition line

On Nov 1, 2011, at 12:48 PM, fantasai <fantasai.lists@inkedblade.net> wrote:

> On 10/31/2011 08:55 PM, fantasai wrote:
>> ISSUE-189
>> The color transition line specified in CSS is wrong. See
>> http://lists.w3.org/Archives/Public/www-archive/2011Jul/0005.html
>> and pick your favorite*!
> 
> The algorithms are:
> 
> 1. Pretend the border-radius doesn't exist and draw the line corner to corner.
> 
> 2. (I'm not 100% sure of this but) measure the arc length and distribute
>   by border-width
> 
> 3. What's in the spec right now.
> 
> 4. Take the perpendicular of the chosen angle, find the point tangent to it
>   on the outer curve, and connect that point shortest distance to the inner
>   curve.

#4 is what I was trying to describe in my earlier email in this thread, except that I said to connect it to a similar point on the inner curve. I imagine it is the same thing though. Is this also what Peter described? More or less?

Received on Tuesday, 1 November 2011 22:39:06 UTC