- From: Peter Salas <psalas@microsoft.com>
- Date: Thu, 13 Feb 2014 21:10:09 +0000
- To: "www-style@w3.org" <www-style@w3.org>
When determining the intrinsic size of a flex container, does the flex basis (specified on items) have any effect? In this example[1], IE 11 makes the flex container's content size 0px (from 'flex-basis') but Chrome and Firefox make the flex container's content size 300px (from 'width'). Which behavior is consistent with the spec? The relevant part of the editor's draft seems to be section 9.8: "The main-size min-content/max-size contribution of a flex item is its outer hypothetical main size when sized under a min-content/max-size constraint (respectively)." The first rule for calculating the hypothetical main size is to use the flex basis, but is 9.8 saying that the flex basis should be ignored for calculating the min-content/max-size contributions? Thanks, Peter [1] http://codepen.io/anon/pen/nxtof
Received on Thursday, 13 February 2014 21:10:39 UTC