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

[css3-flexbox] 'align-self' property definition should be clearer 'auto' margins override it

From: L. David Baron <dbaron@dbaron.org>
Date: Thu, 23 Aug 2012 13:58:39 -0700
To: www-style@w3.org
Message-ID: <20120823205839.GA14259@crum.dbaron.org>
http://dev.w3.org/csswg/css3-flexbox/#align-self doesn't mention
anywhere that auto margins in the cross axis override 'align-self'.

However, the algorithm, in particular
http://dev.w3.org/csswg/css3-flexbox/#cross-sizing steps 8 and 11,
and http://dev.w3.org/csswg/css3-flexbox/#cross-alignment steps 13
and 14, make it clear that align-self has no effect if either
cross-axis margin is 'auto'.

I think this should be mentioned in the description of the property
so that more casual readers will be aware of it.


𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                           http://www.mozilla.org/   𝄂
Received on Thursday, 23 August 2012 20:59:02 UTC

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