Re: [csswg-drafts] [css-sizing] Possible to reproduce a `<div>`'s `width: auto` behavior on any element? (#7427)

@dbaron – Thank you for your response. Unless the implementation of `stretch` / `-webkit-fill-available` / `-moz-available` is buggy in all browsers, it is not sufficient, no, as it doesn't shrink-to-fit in when placed inside a flex container like a `<div>` does. In fact, I don't immediately see how it differs from `width: 100%`, which doesn't do what I want as mentioned in my first post. See this Codepen for a more visual explanation: https://codepen.io/benface/pen/KKowwYY

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 29 June 2022 20:24:17 UTC