- From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
- Date: Wed, 28 Sep 2022 20:19:36 +0000
- To: public-css-archive@w3.org
What happens here is that `width: auto` typically means `width: stretch` for a normal block box. But in flex layout they have different meanings. You can then use `width: stretch; flex-basis: content`, but you will have similar problems in grid layout. Also, AFAIK `width: auto` can be different than `width: stretch` even for a normal block box, e.g. with `justify-self: center`. Strictly speaking, I think what you want is a way for resolving `justify-self: normal` as if the element wasn't replaced. But I'm not convinced that this is worth doing. It seems to me that e.g. if you turn the container into a flex container, then you can also make the button adapt to being a flex item. -- GitHub Notification of comment by Loirooriol Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7427#issuecomment-1261422307 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 28 September 2022 20:19:38 UTC