Re: [csswg-drafts] [css-align] Does stretch work when width/height only behaves as auto? (#4525)

I think the intention here is indeed to check the computed value, and that Chromium's behavior is correct. The "behaves as auto" cases that are not computed 'auto' keywords are primarily for sizing behaviors where we can't do the thing requested...

Furthermore, there's an open issue on whether the content-based size keywords should be treated as auto in the general case, see https://github.com/w3c/csswg-drafts/issues/3973 I think the central mistake there was assuming that 'auto' resolved to "content-based height" as it does in block layout, in which case that would be appropriate... but in Grid and Flexbox that's not the case, and there is special behavior associated with 'auto' that would not be appropriate to trigger if the author specifically wanted to request content-based heights.

-- 
GitHub Notification of comment by fantasai
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4525#issuecomment-572762219 using your GitHub account

Received on Thursday, 9 January 2020 21:22:08 UTC