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

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 UTC