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

[css-flexbox] Small editing fix for stretch under align-items

From: Greg Whitworth <gwhit@microsoft.com>
Date: Tue, 30 Sep 2014 21:10:53 +0000
To: 'www-style list' <www-style@w3.org>
Message-ID: <246e79a078c4416ea19a0aee0c35da73@BLUPR03MB389.namprd03.prod.outlook.com>
Hello, we found a small edit for 8.3 align-items, it currently reads:

     # Stretch: If the cross size property of the flex item computes to auto, and _either_ of the cross-axis margins are auto, the flex item is stretched

This should read:
    
    # Stretch: If the cross size property of the flex item computes to auto, and _neither_ of the cross-axis margins are auto, the flex item is stretched

Firefox and Chrome currently implement it this way and we are fixing a bug where we stretch all the time even with auto set and found this. 

Here is an example with the cross margin-top set to auto on one of the flex items but it doesn't stretch like that of the one without auto margins: http://jsfiddle.net/0dfdqL09/6/

Thanks,
Greg
Received on Tuesday, 30 September 2014 21:11:22 UTC

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