Re: [csswg-drafts] [css-display] More precise box transformations

Immediate children of flexbox or grid are laid out **exactly** as display[-inside]: table-cell elements: all of them establish BFC (block formatting context) and use the same rules of min/max calculations. 

I do not see any intentionality there.

Ok, but what about `display:list-item` then?  

In ideal world flexbox should be just 
```
display: block | inline-block | table-cell | list-item | etc.;
flow: horizontal | horizontal-wrap | vertical | vertical-wrap;
```
and flexes should be just flex units: width: 1fx | 1fr (as in grid spec) or something like that.

So grid and flexboxes could use the same flexibility principles and complement each other rather than compete as we have them now.


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

Received on Thursday, 22 March 2018 22:24:48 UTC