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

Re: [css3-flexbox] "inherit" as the preferred size subcomponent of "flex" property

From: fantasai <fantasai.lists@inkedblade.net>
Date: Sun, 26 Feb 2012 21:29:10 -0800
Message-ID: <4F4B14A6.9060304@inkedblade.net>
To: www-style@w3.org
On 02/24/2012 06:30 PM, Boris Zbarsky wrote:
> On 2/24/12 9:21 PM, Daniel Holbert wrote:
>> I think it'd still be useful to clarify this in the spec -- the spec
>> text I quoted {{ "any value that would be valid in the ‘width’ or
>> ‘height’ property" }} seems to allow "inherit" (since it would be valid
>> in the 'width' or 'height' property).
>
> The right way to do this, ideally, would be for whatever spec defines 'width' to define a syntactic construct called <width>
> (right now expanding to "<length> | <percentage> | auto") that this spec could then reference...

I believe you are looking for this notation: <'width'>
   http://www.w3.org/TR/CSS21/about.html#property-defs
   http://www.w3.org/TR/css3-values/#component-types

(Hm, I'll note that we need to update CSS3 Values to also mention 'initial'...)

~fantasai
Received on Monday, 27 February 2012 05:29:39 GMT

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