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

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

From: Lea Verou <leaverou@gmail.com>
Date: Mon, 02 May 2011 15:44:54 +0300
Message-ID: <4DBEA746.6040001@gmail.com>
To: Boris Zbarsky <bzbarsky@MIT.EDU>
CC: www-style@w3.org
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 GMT

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