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

Re: min-content/max-content computation WAS: [css3-flexbox] Does "width" property on a flex-item affect its used value of "min-width:auto"?

From: Andrew Fedoniouk <news@terrainformatica.com>
Date: Mon, 7 Jan 2013 11:09:29 -0800
Message-ID: <CALRQH78ob5ACvECk_Abzb9ftHk5G9Y4E5o2p_iNBz-HMFqE8NA@mail.gmail.com>
To: Ojan Vafai <ojan@chromium.org>
Cc: Daniel Holbert <dholbert@mozilla.com>, Tab Atkins <tabatkins@google.com>, fantasai <fantasai@inkedblade.net>, Elliott Sprehn <esprehn@chromium.org>, www-style list <www-style@w3.org>
min-width: min-content;

should mean: no content overflow-x on the element. Thus if you have

{ min-width: min-content;
  overflow-x: auto; }

then you should never see horizontal scrollbar on such element.

Otherwise what's the point in min-width then?

-- 
Andrew Fedoniouk.

http://terrainformatica.com


On Mon, Jan 7, 2013 at 10:51 AM, Ojan Vafai <ojan@chromium.org> wrote:

> min-width: min-content;
Received on Monday, 7 January 2013 19:09:56 GMT

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