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

On Fri, Feb 24, 2012 at 5:36 PM, Daniel Holbert <dholbert@mozilla.com> wrote:
>
> Hi www-style,
>
> Is it intended that "inherit" be allowed as the preferred-size component of "flex"?  That is to say, is this style valid:
>
>  flex: 1 0 inherit;
>
> I submit "please no" as an answer.  If "inherit" were allowed there, it'd make style-computation more complex, since it takes extra work to figure out what value should be inherited by that subcomponent (width or height, depending on whether we're horizontal or vertical).

'inherit' is never valid as a component of a property, only as the
entire value.   So you're good.  ^_^

~TJ

Received on Saturday, 25 February 2012 02:18:48 UTC