W3C home > Mailing lists > Public > public-css-archive@w3.org > September 2016

Re: [csswg-drafts] [cssom] Resolved value for width et al should be computed value for display:contents

From: Mats Palmgren via GitHub <sysbot+gh@w3.org>
Date: Wed, 14 Sep 2016 18:35:07 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-247112005-1473878105-sysbot+gh@w3.org>
Correction,
`data:text/html,<div style="display:none; min-width:10px">`
is also width = 'auto'

So, it appears that a specified width:auto always resolves to 'auto' 
(when there is no box),
otherwise min/max is also applied.  Here's the code that does this:
https://hg.mozilla.org/mozilla-central/annotate/8a494adbc5cc/layout/style/nsComputedDOMStyle.cpp#l5341

-- 
GitHub Notification of comment by MatsPalmgren
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/482#issuecomment-247112005 
using your GitHub account
Received on Wednesday, 14 September 2016 18:35:14 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 20:26:34 UTC