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

RE: [css3-background] color transition line

From: Brian Manthos <brianman@microsoft.com>
Date: Tue, 1 Nov 2011 20:19:29 +0000
To: fantasai <fantasai.lists@inkedblade.net>, "www-style@w3.org" <www-style@w3.org>
Message-ID: <9710FCC2E88860489239BE0308AC5D17044305D2@TK5EX14MBXC264.redmond.corp.microsoft.com>
If you remove the 3rd sentence from the spec (because it's apparently interpreted multiple ways), I believe the spec (3) agrees with 1.

I strongly disagree with 2 and 4, and I think Simon concurs.

-Brian


-----Original Message-----
From: fantasai [mailto:fantasai.lists@inkedblade.net] 
Sent: Tuesday, November 01, 2011 12:49 PM
To: www-style@w3.org
Subject: Re: [css3-background] color transition line

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.

~fantasai
Received on Tuesday, 1 November 2011 20:20:10 GMT

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