- From: Daniel Holbert <dholbert@mozilla.com>
- Date: Tue, 14 Jun 2011 16:06:30 -0700
- To: www-style@w3.org
Hi www-style, The current editor's draft of the flexbox spec[1] is inconsistent on whether the margin & padding properties can take the flex() function. Section 5 "Flexibility" says that they *cannot* take flex(): > Paddings and margins are made flexible by setting their > value to ‘auto’, while the width and height of a box can > be controlled more precisely with the ‘fr’ unit or the > ‘flex()’ function, both defined below. http://dev.w3.org/csswg/css3-flexbox/#flexibility But Section 8.1 "Initial Computation" says that they *can* take flex(): > For margins and padding: > [...] > Otherwise, if the length was specified with the ‘flex()’ function http://dev.w3.org/csswg/css3-flexbox/#initial-computation I'm guessing that Section 8.1 is wrong -- I think that the "Otherwise" clause that I quoted just wants to be deleted, right? Thanks, Daniel Holbert
Received on Tuesday, 14 June 2011 23:06:59 UTC