W3C home > Mailing lists > Public > www-style@w3.org > March 2012

Re: outline-radius

From: Paul Bakaus <pbakaus@zynga.com>
Date: Mon, 12 Mar 2012 16:32:08 +0000
To: Brad Kemper <brad.kemper@gmail.com>, Boris Zbarsky <bzbarsky@MIT.EDU>
CC: "www-style@w3.org" <www-style@w3.org>
Message-ID: <CB83E335.1773C%pbakaus@zynga.com>


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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 22 May 2012 03:48:51 GMT