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'.
   http://www.w3.org/TR/CSS21/visudet.html#inlineblock-width

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.

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

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:21 UTC