W3C home > Mailing lists > Public > www-style@w3.org > October 2017

Re: [css] min-height/min-width initials

From: Jens Oliver Meiert <jens@meiert.com>
Date: Tue, 31 Oct 2017 11:13:58 +0100
Message-ID: <CAJ0g8QQftv4YFNUri6-5Zu7N3koy6X7mzwK99pQXNFymiEbNFA@mail.gmail.com>
To: Oriol _ <oriol-bugzilla@hotmail.com>
Cc: "www-style@w3.org" <www-style@w3.org>
> The initial values of `min-height` and `min-width` are no longer `0`, now
> they are `auto`. Usually `auto` behaves like `0`, but not always.

What spec or draft are you referring to? It’s “0” per
https://www.w3.org/TR/CSS22/visudet.html#min-max-widths, and

> Anyways, I don't see how `none` would be useful. If you want to reset a
> property to its initial value but you don't know which is the initial value,
> you can always use the `initial` keyword.

Focus (and curiosity) was just on the precise initial values—much from
the “initial” keyword angle—, and I still find the difference odd.

Jens Oliver Meiert
Received on Tuesday, 31 October 2017 10:14:43 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:09:08 UTC