W3C home > Mailing lists > Public > www-style@w3.org > September 2010

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

From: Alex Mogilevsky <alexmog@microsoft.com>
Date: Mon, 27 Sep 2010 13:17:45 +0000
To: Stephen Hay <haymail@gmail.com>, Www-style <www-style@w3.org>
Message-ID: <D51C9E849DDD0D4EA38C2E539856928411C728EF@TK5EX14MBXC218.redmond.corp.microsoft.com>
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.


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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:49:48 UTC