- From: Christian Biesinger <cbiesinger@google.com>
- Date: Tue, 4 Aug 2015 14:27:33 -0700
- To: fantasai <fantasai.lists@inkedblade.net>
- Cc: www-style list <www-style@w3.org>
Perfect, thanks for confirming! -christian On Tue, Aug 4, 2015 at 1:47 PM, fantasai <fantasai.lists@inkedblade.net> wrote: > On 08/04/2015 02:14 PM, Christian Biesinger wrote: >> >> Hi there! >> >> a question came up here today -- does the min-content size include >> scrollbars? > > > Yes. See > > http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%0A%3Cstyle%3E%0Abody%20%7B%20width%3A%200%3B%20%7D%0Adiv%20%7B%20float%3A%20left%3B%20overflow%3A%20scroll%3B%20border%3A%20solid%20orange%3B%20%7D%0A%3C%2Fstyle%3E%0A%0A%3Cdiv%3Eabcd > >> In particular: >> >> <div style="display: flex; flex-direction: column;"> >> <div style="min-height: min-content; width: 200px; overflow: auto; >> flex-basis: 0;"> >> <div style="height: 300px; width: 500px; background-color: >> green;"></div> >> </div> >> </div> >> >> Should there be a vertical scrollbar or not? > > > There should be a horizontal scrollbar and no vertical one, afaict. > Hopefully that makes sense... > > ~fantasai >
Received on Tuesday, 4 August 2015 21:28:02 UTC