W3C home > Mailing lists > Public > www-style@w3.org > August 2009

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

From: Andrew Fedoniouk <news@terrainformatica.com>
Date: Sat, 22 Aug 2009 20:30:53 -0700
Message-ID: <4A90B7ED.4020309@terrainformatica.com>
To: www-style <www-style@w3.org>
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?

"The transition must be contained within the segment of the border where 
the tangent of the inner curve either not defined or is not parallel 
with the sides of the box."

It is not clear what does "tangent of the inner curve not defined" mean 
exactly. Is it an attempt to define case #9 here? :

http://www.terrainformatica.com/w3/round-corners-sciter.png
(case: width of borders is larger than border radius)

"but a gradient is recommended for color transitions"

I believe that the only reasonable type of gradient here is so called 
conic gradient. Probably it makes sense to define just that?

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].

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 03:31:30 GMT

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