- From: Sylvain Galineau <sylvaing@microsoft.com>
- Date: Thu, 19 Jul 2012 01:01:07 +0000
- To: Lea Verou <leaverou@gmail.com>, Alex Mogilevsky <alexmog@microsoft.com>
- CC: www-style list <www-style@w3.org>
[Lea Verou:] > > That's also a problem with margin:auto, yet CSS doesn't include a > mechanism for min-margin. I'm not sure that's a 'problem' since both margin and padding have initial values of zero; but margin:auto is greatly simplified by the fact that the other dimensions either do not support auto (border, padding) or resolve auto based on the content (width). But as Mike Sherov points out, things change once you have padding:auto. Now you can have both margin:auto and padding:auto and it's unclear what should happen. At this point one could argue padding:auto implies min-padding and min-margin. Then you also need to define whether/how this feeds into min/max-width/height calculations, among other things...
Received on Thursday, 19 July 2012 01:01:42 UTC