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

On 2/5/11 14:45, Boris Zbarsky wrote:
> 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
>
Although I want them to be supported too, the Values spec states 
(http://www.w3.org/TR/css3-values/#lengths):
> Some properties/allow/negative length values, but this may complicate 
> the formatting and there may be implementation-specific limits.
with "allow" being emphasized. Doesn't this mean that if they're not 
explicitly allowed, then they're not allowed?

-- 
Lea Verou (http://leaverou.me | @LeaVerou)

Received on Monday, 2 May 2011 12:45:22 UTC