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

On Aug 22, 2009, at 8:30 PM, Andrew Fedoniouk wrote:

> Reading this document
> http://www.w3.org/TR/2008/WD-css3-background-20080910/#the-border-radius
> got couple of questions.
>
> Phrase after [Example XXI]:
>
> "(In such cases its center might not coincide with that of the outer  
> border curve.)"
>
> Not clear what it means. Center of circle having radius zero? It's a  
> point then. Has no center... Or is this about something else?

That is how I read it. A point does have a center (it's the same  
point). That point would no longer align with the center of the center  
of the circle describing the outside of the border, when the border  
thickness is thicker than the corner-radius. There may be a better way  
to say this...

> [...]
> And the main question:
>
> "Other effects that clip to the border or padding edge (such as  
> ‘overflow’) also must clip to the curve."
>
> Clipping of content on such border may lead to information lost.
> Text behind rounded corner will not be seen at all [top-left corner,
> case #8 above].

Text that goes outside its boundaries is also "information lost" when  
overflow is 'hidden'. Thus it is within the author's ability to  
obscure text with overflow, as always. If I don't want the text to be  
clipped by the corners, then I can add padding.

> In principle it is possible to layout text with respect of rounded  
> corners but we need to specify this then.
>
> -- 
> Andrew Fedoniouk.
>
> http://terrainformatica.com
>

Received on Sunday, 23 August 2009 04:15:37 UTC