W3C home > Mailing lists > Public > www-style@w3.org > June 2014

[css-sizing] block intrinsic width accounts for floats incorrectly

From: L. David Baron <dbaron@dbaron.org>
Date: Wed, 18 Jun 2014 11:45:30 -0700
To: www-style@w3.org
Message-ID: <20140618184530.GA25525@crum.dbaron.org>
http://dev.w3.org/csswg/css-sizing/#block-intrinsic says:
  # The max-content measure of a block container box is the measure
  # of the box after layout, if all children are sized under a
  # max-content constraint. 

I don't think this is what any current implementation does (although
some implementations -- old Gecko and old IE -- used to compute it
that way), and it's distinguishable from implementation behavior in
many testcases.  Implementations actually use heuristics (which I
believe match pretty well, but not perfectly) to determine when
float intrinsic widths should be added to block intrinsic widths and
when they should just be max()'d.  I believe these heuristics should
be specified.


𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                          https://www.mozilla.org/   𝄂
             Before I built a wall I'd ask to know
             What I was walling in or walling out,
             And to whom I was like to give offense.
               - Robert Frost, Mending Wall (1914)

Received on Wednesday, 18 June 2014 18:45:54 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:43 UTC