RE: [css3-flexbox] Discrepancy in width on manual resize of viewport FF vs Webkit

Apparently Firefox has a bug here. It doesn't include padding in calculations in this case.

-----Original Message-----
From: www-style-request@w3.org [mailto:www-style-request@w3.org] On Behalf Of Stephen Hay
Sent: Wednesday, September 22, 2010 1:52 PM
To: Www-style
Subject: [css3-flexbox] Discrepancy in width on manual resize of viewport FF vs Webkit

Hi all,

Sorry if I missed this in the archives, but let's say an element has a width of 200px. For whatever reason, I give it box-flex:1. Will the width be ignored altogether when the viewport is resized (giving precedence to box-flex over the width), or will the user agent treat the initial width as min-width?

Example: http://www.the-haystack.com/playground/css3-flexbox/flexbox.html


I'm noticing a difference in where Firefox stops scaling the width (it's not the declared width, so what is it?) on manual resizing of the viewport and where Safari and Chrome do this (they seem to stop scaling at the width of the box's children. So I'm mostly curious why this is so.

Stephen

Received on Monday, 27 September 2010 13:22:59 UTC