Re: [csswg-drafts] [cssom-view] `getClientRects()` should return a flattened list of child rects for `display: contents` (#12040)

Forgive what must be a naive question, but this - in theory - would allow for, say, an element to position-anchor to something with display: contents and it would utilize the bounding box of that elements collective children as its positional reference, yes?

if so - heck yeah batman!, that'd be awesome. In the last two weeks I've hit about a half dozen scenarios where this would be a blessing.

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


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

Received on Saturday, 5 April 2025 12:42:09 UTC