W3C home > Mailing lists > Public > www-style@w3.org > March 2013

Re: [css3-flexbox] Revert min-width back to an initial value of 0

From: Kang-Hao (Kenny) Lu <kanghaol@oupeng.com>
Date: Thu, 07 Mar 2013 02:42:51 +0800
Message-ID: <51378E2B.7060904@oupeng.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: WWW Style <www-style@w3.org>
(13/02/15 6:25), Tab Atkins Jr. wrote:
> After a lot of feedback, I think we should revert min-width's initial
> value back to 0.

So great to see you raise this and I am so excited to know that no one
has any objection to this yet!

> One of my coworkers has been using Flexbox for quite a while to build
> internal analytics displays, and nearly all of the problems he has
> with Flexbox end up being that he needs to apply a min-*: 0 somewhere.

Last November when I was giving an intro to css3-flex before folks start
writing tests for the TTWF at Beijing, I talked about this in one of my
slides[1] and with that slide I told people that if you don't do
'min-width: 0' you are gonna let random jerks break your site by
inserting content with enough 'min-content' size (feel free to play with
this in [1]).

At that time I wasn't sure this argument would be convincing enough to
change this as this is at CR already and I thought I could collect some
testimonial from Web developers but I never do so.

It might still be interesting to investigate how many times this
'min-content: auto' behavior have tripped developers up when they use
'display: table-cell' as a solution for equal-height-column-layout too.

Anyway, congratulations and many thanks for raising this! If this isn't
raised then this would really become something as notorious and
widely-criticized as the length of "querySelector"!


[1]
http://dev.oupeng.com/wp-content/uploads/2012/10/20121020-kennyluck-flex-layout.html#min-width-auto-continued


Cheers,
Kenny
-- 
Web Specialist, Oupeng Browser, Beijing
Try Oupeng: http://www.oupeng.com/
Received on Wednesday, 6 March 2013 18:43:19 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:06 GMT