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

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

From: Stephen Hay <haymail@gmail.com>
Date: Wed, 22 Sep 2010 22:51:30 +0200
Message-ID: <AANLkTimFynHAJ8WKan-2H2_MyzGqi7TfBk4rJnus6Xwc@mail.gmail.com>
To: Www-style <www-style@w3.org>
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 Wednesday, 22 September 2010 20:57:27 UTC

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