Re: [csswg-drafts] [css-grid2] API for querying implicit grids

Thanks for the suggestions! I ended up filing #2681 to track the first item (finding the actual location in the grid of a given item).

The other two suggestions seem simple to do on your own if #2681 is accepted; you just need to iterate the grid items and build up a map of their locations yourself.  This won't handle anonymous grid items (created by raw text children of the grid container), but they're honestly an error case; we tried very hard to make anonymous grid/flex items fairly annoying to use, without actually hiding any data. ^_^

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

Received on Thursday, 17 May 2018 18:27:26 UTC