W3C home > Mailing lists > Public > www-style@w3.org > August 2015

[css-sizing] [css-flexbox] does min-height: min-content include the scrollbar height?

From: Christian Biesinger <cbiesinger@google.com>
Date: Tue, 4 Aug 2015 11:14:08 -0700
Message-ID: <CAPTJ0XEtRzOEJhzukDX3QXs+jH7fW-54SQW-=n9SOq5JhTtO+w@mail.gmail.com>
To: www-style list <www-style@w3.org>
Cc: Stefan Zager <szager@google.com>
Hi there!

a question came up here today -- does the min-content size include
scrollbars? 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>

Should there be a vertical scrollbar or not?

Received on Tuesday, 4 August 2015 18:14:36 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 4 August 2015 18:14:37 UTC