W3C home > Mailing lists > Public > www-style@w3.org > May 2011

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

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Mon, 02 May 2011 07:45:36 -0400
Message-ID: <4DBE9960.6010806@mit.edu>
To: www-style@w3.org
On 5/2/11 6:48 AM, Lea Verou wrote:
> The CSS3 UI spec says:
>> By default, the outline is drawn starting just outside the border
>> edge. However, it is possible to offset the outline and draw it beyond
>> the border edge.
>> Name: outline-offset
>> Value: <length> | inherit
>> Initial: 0
>> Applies to: all elements
>> Inherited: no
>> Percentages: N/A
>> Media: visual
>> Computed value: <length> value in absolute units (px or physical).
>> If the computed value of 'outline-offset' is anything other than 0,
>> then the outline is outset from the border edge by that amount.
> From: http://www.w3.org/TR/css3-ui/#outline-offset
>
> Negative <length>s are neither explicitly permitted

Sure they are.  <length> includes negative lengths, unless there's 
normative text saying otherwise.

-Boris
Received on Monday, 2 May 2011 11:46:04 GMT

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