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

Re: [css3-ui] Negative values in outline-offset?

From: fantasai <fantasai.lists@inkedblade.net>
Date: Wed, 15 Feb 2012 16:33:56 +0100
Message-ID: <4F3BD064.8080604@inkedblade.net>
To: www-style@w3.org
On 02/15/2012 03:02 AM, Kang-Hao (Kenny) Lu wrote:
> (An old thread about outline-offset being negative)
> (11/05/02 20:49), Boris Zbarsky wrote:
>> No, it just means that some implementations may not support all
>> negative values for some properties even though per spec they really
>> should.
> What should happen when the absolute value is bigger than half of the
> smaller outer border edge than? Test case:
> data:text/html,<p style="outline: solid; outline-offset: -2em;">Test
> WebKit browsers draw no outline in this case and Firefox....  I can't
> quite describe it... it's something like a normal outline without two
> top corners.
> I suggest we either explicitly mark it undefined (this case is contrived
> anyway) or spec WebKit's behavior.

IMO the UA should floor it at the least offset it can support. It shouldn't
*not* draw the outline.

Received on Wednesday, 15 February 2012 15:34:36 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:55 UTC