A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://lists.w3.org/Archives/Public/www-style/2015Aug/0023.html below:

min-content include the scrollbar height? from fantasai on 2015-08-04 (www-style@w3.org from August 2015)

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 20:47:57 UTC


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4