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

Unfortunately, this isn't true. table-cells aren't allowed to ever overflow, even if you try to explicitly size them; they also have some weird interactions with their sibling table-cells when % sizing is used.  This ends up making them pretty complicated, unfortunately.

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

Theoretically fine (it's no more complicated than putting ::before on a flexbox), but low implementor interest. The grammar is compatible with us adding it to flexbox/grid in the future, too.  For now, tho, it's only combinable with block and inline.

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

Received on Thursday, 22 March 2018 22:46:10 UTC