Re: [css3-flexbox] intuitivity and width computation rules

Hello,

I've tried to trick this out today and I've found a workaround for this
issue (only tested with FF3.6+ yet)

According to the spec, by default, all the children of a box have a there
width property setting with the value auto.

If you set the width property of each flexible box to 0, then it work as
intuited.

This is quite logical because, the remainig space is computed on the basis
of a 0 pixel width value so in this case, the remaining space is equal to
the width of the parent box.

But any way, it works but it is really surprising (even if logical when you
think about it).

May be it could be simpler to understand for end users to have a default
value of 0 for the a box's children.
Do you think it's something acceptable ?

-- 
Jeremie
.............................
Web : http://jeremie.patonnier.net
Twitter : @JeremiePat <http://twitter.com/JeremiePat>

Received on Wednesday, 12 January 2011 16:48:50 UTC