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

Re: [css-flexbox] percentage paddings, again

From: John Kreitlow <john.kreitlow@gmail.com>
Date: Thu, 17 Apr 2014 01:07:44 -0400
Message-ID: <CAHFriLb0CkrKfpmeFHawQwxyH1kNyGRKcns1iLhPuOHd7ZpdzA@mail.gmail.com>
To: www-style@w3.org
Howdy,

I've been discussing this same issue with Daniel Holbert on Twitter
recently (here's that conversation:
https://twitter.com/johnkreitlow/status/446107178815217664)

I made this codepen to outline the case:
http://codepen.io/radium-v/pen/ropFz
The example works as I'd expect in Chrome 34, IE11, and Safari 7 - but it
unfortunately breaks in Firefox 28 (Daniel suggests the opposite though,
that FF exhibits the correct behavior while the other browsers fail to
match the spec).

It seems to me that the paragraph from the spec is intended for single-line
flex containers. It doesn't take into account how multi-line containers
should behave, especially their dimensions aren't explicitly defined.

There's some more detail regarding this section of the spec found here
http://lists.w3.org/Archives/Public/www-style/2013Mar/0688.html

I'm in favor of changing things here - it shouldn't be assumed that a flex
container is more likely to be given an explicit height, since it's not
assumed in most other cases.

-- 
Thanks!
John Kreitlow
Received on Thursday, 17 April 2014 09:46:05 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:39 UTC