- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Fri, 30 May 2014 15:18:32 -0700
- To: Daniel Holbert <dholbert@mozilla.com>
- Cc: www-style list <www-style@w3.org>
On Fri, May 30, 2014 at 2:57 PM, Daniel Holbert <dholbert@mozilla.com> wrote: > Hi www-style, > > Currently, the flexbox ED has this text: > > # As a special case for handling stretched flex items, if a > # single-line flex container has a definite cross size, the > # outer cross size of any flex items with align-self: stretch > # is the flex container's inner cross size (clamped to the > # flex item's min and max cross size) > > http://dev.w3.org/csswg/css-flexbox/#layout-algorithm > > I think that language is a little too broad. > > In particular, the phrase "any flex items with align-self: stretch" is > too broad. It needs a qualifier like: > # ...and whose cross-size property computes to 'auto' > > ...because "align-self:stretch" is only supposed to have an effect for > flex items whose cross-size property is 'auto', per: > http://dev.w3.org/csswg/css-flexbox/#valuedef-stretch0 Fixed by adding a definition for "stretched" that hits all the requirements, and then using that term instead in the layout algo. ~TJ
Received on Friday, 30 May 2014 22:19:19 UTC