W3C home > Mailing lists > Public > public-css-archive@w3.org > February 2017

Re: [csswg-drafts] [css-sizing] percentage [max-]width|height and intrinsic sizes

From: L. David Baron via GitHub <sysbot+gh@w3.org>
Date: Sat, 18 Feb 2017 00:05:34 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-280800399-1487376333-sysbot+gh@w3.org>
I was proposing that this change affect **only** min-content sizing 
and **not** max-content sizing.  I believe changing max-content sizing
 in this way would break Web-compatibility.

I believe this needs a definition slightly broader than image-like; 
for us it was essentially img, canvas, plugins (object/embed), video, 
and iframe.  I believe that list was interoperable, although it's 
perhaps worth retesting.

(The rule also applies to `<textarea>` and `<input type="text">`, 
although only for percentage `width` and not for percentage 
`max-width`.  I believe this was also pretty interoperable.)

It's not clear to me what doing the same for both axes means; I don't 
think there is such a thing as a min-content size in the block axis.

Or is there a question as to whether the `height` property should also
 (in English) affect the min-content size contribution?

GitHub Notification of comment by dbaron
Please view or discuss this issue at 
using your GitHub account
Received on Saturday, 18 February 2017 00:05:41 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:08 UTC