W3C home > Mailing lists > Public > www-style@w3.org > April 2014

[CSS21][css-box] inline-x auto-sizing

From: fantasai <fantasai.lists@inkedblade.net>
Date: Thu, 17 Apr 2014 16:34:35 -0700
Message-ID: <5350650B.3020202@inkedblade.net>
To: "www-style@w3.org" <www-style@w3.org>
CSS2.1 says:
   # If 'width' is 'auto', the used value is the shrink-to-fit width
   # as for floating elements.
   # A computed value of 'auto' for 'margin-left' or 'margin-right'
   # becomes a used value of '0'.

This should probably generalize to all non-replaced atomic inlines,
since it should apply to inline flexboxes, inline grids, inline tables,
and anything else we come up with.

Received on Thursday, 17 April 2014 23:35:13 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:39 UTC