- From: Daniel Holbert <dholbert@mozilla.com>
- Date: Fri, 3 Jul 2015 09:54:39 -0700
- To: www-style list <www-style@w3.org>
Hi www-style, I just had a Twitter discussion with some web devs who (understandably) misunderstood the Flexbox spec text in section 4.2, "Flex Item Margins and Paddings". The spec text currently says (in the ED): # Percentage margins and paddings on flex items are # always resolved against their respective dimensions http://dev.w3.org/csswg/css-flexbox-1/#item-margins The problem here is the word "their" -- it's ambiguous here. It very much *sounds* like it refers to "the flex items'" -- i.e. it sounds like it's saying that percent margins/padding on a flex item resolve against *the flex item's own* respective dimension. (Really, I think it's meant to refer to the margin/padding's respective dimension -- so margin-top's "respective dimension" is height, etc. But that's a bit abstract.) Could this text be tweaked to be clearer? Perhaps just adding "of their containing block" at the end of this clause would be sufficient. Thanks, ~Daniel
Received on Friday, 3 July 2015 16:55:11 UTC