W3C home > Mailing lists > Public > www-style@w3.org > October 2011

[css3-flexbox] flex() and CSS transitions

From: Tony Chang <tony@chromium.org>
Date: Thu, 6 Oct 2011 16:51:57 -0700
Message-ID: <CAL-=4P3Yz7nDMYec2HpyVFAeBK1FGFAKivPQ5VjzYgQr8Vd=fw@mail.gmail.com>
To: www-style@w3.org
What should happen if we try to use a CSS transition between two different
flex() values?

I made a small demo in javascript that scales each value independently (pos
flex -> pos flex, neg flex -> neg flex, preferred size -> preferred size)
and it seems to behave reasonably.  I just wanted to make sure this is
something we want to support.

Also, it seems like transitioning from a fixed length to a flex() value
should just treat the fixed length as flex(0 0 [fixed length]).  Does that
seem reasonable as well?

Received on Thursday, 6 October 2011 23:52:23 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:05 UTC