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

[css3-flexbox] min-width/height: auto, its Computed Value line, and "computes to" prose

From: L. David Baron <dbaron@dbaron.org>
Date: Sat, 19 May 2012 14:45:07 -0400
To: www-style@w3.org
Message-ID: <20120519184507.GA6693@crum.dbaron.org>
http://dev.w3.org/csswg/css3-flexbox/#min-size-auto says:
  #  New Computed Value:   the percentage as specified or the
  #                        absolute length or a keyword 
where the "or a keyword" is an addition relative to
http://www.w3.org/TR/CSS21/visudet.html#min-max-widths .

However, it also says:
  # On any other element, this keyword computes to ‘0’ (unless
  # otherwise defined by a future specification). 
The use of "computes to" here seems to contradict the "Computed
Value" line.

I think the "New Computed Value" line is correct, the 'auto' keyword
should always be the computed value, and the second quoted piece of
prose should be changed to avoid the term "computes".

This would avoid implementation complexity and the need to update
http://wiki.csswg.org/spec/property-dependencies to reflect this
additional dependency.


𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                           http://www.mozilla.org/   𝄂
Received on Saturday, 19 May 2012 18:45:34 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:59 UTC