Re: [csswg-drafts] [css-grid] Masonry layout in CSS Grid 3 has potential to cause accessibility problems with reading order. (#5675)

So in the algorithm I wrote, a row is defined by looking at the top of each grid item bounding box, and seeing which box in neighbouring columns has the closest top. These boxes are chained together into rows based on their tops having similar y coordinates. I think from my English top left -> bottom right reading view of the world, this visually makes sense

It ends up creating "rows" that look a little bit like the layers in sedimentary rock:

![Strata](https://www.researchgate.net/profile/Cheryl-Moss/publication/228494551/figure/fig6/AS:669518733013004@1536637113584/Geologic-cross-section-along-the-northern-edge-of-the-site-Each-of-the-strata-found-at.png)



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


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

Received on Monday, 30 December 2024 12:54:52 UTC