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

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

From: Oriol _ <oriol-bugzilla@hotmail.com>
Date: Mon, 30 Oct 2017 18:22:34 +0000
To: "www-style@w3.org" <www-style@w3.org>
Message-ID: <VI1PR09MB078336D1EA204E39FE3C51A797590@VI1PR09MB0783.eurprd09.prod.outlook.com>
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.

Therefore, if you want to reset these properties, you should probably use `auto` and not `0` nor a theoretical synonym of `0`.

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.

- Oriol
Received on Monday, 30 October 2017 18:23:09 UTC

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