Re: [csswg-drafts] [css-grid] Display any element as part of any given grid

I like the approach suggested in @mrego's [comment](https://github.com/w3c/csswg-drafts/issues/2530#issuecomment-380419601) very much! From the first look, it seems that the only requirement that the grid items should come in the source document _after_ the element that defines the grid (either as its descendants, its following siblings or any of its ancestor's following siblings) is enough to prevent any circularity. These grid items would be taken out of the flow (just as if they were absolutely positioned) and placed into the well-defined visual context. Sounds great!

The only downside I can see is the discrepancy between source order and visual order, but this problem is not new for CSS Grid, so I'm sure browsers find a way to solve it, and that solution would apply to this proposal, too.

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

Received on Friday, 4 May 2018 08:51:30 UTC