Re: [csswg-drafts] [css-anchor-position-1] Make snapshotted scroll offset per-axis (#9347)

Wait, this doesn't seem to work for the multiple anchor case.

Say the element uses anchor `--a` in the x axis and anchor `--b` in the y axis, and both anchors are in the same scroller. We still want to do scroll adjustments in both axes, but there's only one default anchor.

I think we should refine it into: do adjustment in an axis if there's reference to any anchor element in the same scroller (but not any descendant scroller) as the default anchor in that axis.

-- 
GitHub Notification of comment by xiaochengh
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/pull/9347#issuecomment-1720250901 using your GitHub account


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

Received on Thursday, 14 September 2023 22:43:53 UTC