Re: [CSS3, Backgrounds and Borders Module] some questions about border-radius

Zack Weinberg wrote:
> fantasai <fantasai.lists@inkedblade.net> wrote:
>> Andrew Fedoniouk wrote:
> ...
>>> There are three possible cases of the area where gradient
>>> transition may happen. They are presented on this figure:
>>>
>>> http://www.terrainformatica.com/w3/border-radius-transition-areas-fig.png
> ... 
>> The intention of the spec is to limit transitions to area B.
>> This is because the conjunction of different styles may need
>> the full area of B. 
> 
> Well, I believe you, but I could really use an example.  I cannot think
> of a circumstance where you would need the additional area provided by
> B, even for border-style transitions.  Also (as I said previously) the
> text doesn't sound like it specifies B to me.
> 
> I see you changed the wording and picked up my diagram, but my diagram
> is illustrating C, and the wording is now even more confusing to me :-(

Okay, I guess I need to work on the wording some more then. :)

>> If you're just joining two solid borders
>> and want to do a color transition, you wouldn't want to use
>> the full area of B, you'd want to draw lines through the border
>> from the ends of the inner curve to the ends of the outer curve.
>> In the case where the inner curve is a sharp corner, you draw
>> angled lines through the border from the point to the ends of
>> the curve on the outer edge. 
> 
> The possibility of the transition boundary lines being angled never
> occurred to me.  I've updated my diagram again (attached, SVG and PNG
> both).  Is this what you had in mind for color transitions?

Yes, that's exactly what I had in mind!

~fantasai

Received on Monday, 24 August 2009 18:02:41 UTC