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

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 UTC