Re: outline-radius

Am 12.03.12 17:26 schrieb "Brad Kemper" unter <brad.kemper@gmail.com>:

>
>On Mar 12, 2012, at 8:50 AM, Boris Zbarsky <bzbarsky@MIT.EDU> wrote:
>
>> On 3/12/12 10:43 AM, Brad Kemper wrote:
>>> I think it should be automatic. The 'border' of 'border-radius' doesn't
>>> mean that it only affects the border. It just means that the border box
>>> is where you measure the radius. It also affects the radius of the
>>> padding box and content box, and /should/ also affect the outline.
>> 
>> But how, exactly?  The outline need not be rectangular, while
>>border-radius specifies curvature for precisely 4 corners.
>> 
>> For the simple case of one single box for an element, the two can be
>>treated interchangeably, of course.
>
>I'm primarily concerned with elements that the author set 'border-radius'
>and 'outline' on, which should have precisely 4 corners, I think. Can you
>give some examples of non-rectangular outlines, so that I know what you
>are referring to? Do you mean outline on SVG?

If I may chime in - he's referring to outlines triggered by a focus, for
instance. These may include multiple elements. If you have a container
with multiple nested elements, WebKit then tries to wrap the outline
around the rectangles of the children I think.

>

Received on Monday, 12 March 2012 16:32:42 UTC