Re: [csswg-drafts] [css-flexbox] When omitted from the flex shorthand the flex-basis value is... (#5742)

More concerning scenario, from a webcompat perspective:
https://bug1368592.bmoattachments.org/attachment.cgi?id=9329111

This is the same as my previous testcase, but with `overflow:auto` instead of `min-height:5px` (possibly more representative of real-world content; note that any non-default value of `overflow` would make the same point here).

In this case, items with implicit `flex-basis:0%` still render just fine, but items with `flex-basis:0px` don't' render at all:
![image](https://user-images.githubusercontent.com/426803/232877112-9de30113-3af9-471b-ad23-5c9652d97ca5.png)

If browsers were to implement the spec change, then the first two black-bordered boxes here would become blank (like the last two).  I'm a bit worried that real-world web content would end up with pieces unexpectedly disappearing for that reason.

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


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

Received on Tuesday, 18 April 2023 18:54:48 UTC