Re: [css3-flexbox] what's the computed value of "width: flex(...)" in a non-flexbox context?

On Thu, Jun 9, 2011 at 2:14 PM, Alex Mogilevsky <alexmog@microsoft.com> wrote:
> Is there a precedent for value types like that in other places?
>
> For example, in CSS2.1 percent is not applicable to border-width. Is setting a percent value making the property invalid or is it setting initial value?

Different issue.  If you set a property to a value that's not valid
for it (like setting 'border-width' to a percentage), it makes the
declaration invalid.

We're instead dealing with a value that's valid for the property, but
only meaningful in certain contexts.  This is like setting 'top',
'height', and 'bottom' all together - 'bottom' can only be validly set
if either 'top' or 'height' are auto.

Received on Thursday, 9 June 2011 21:47:47 UTC