Re: [csswg-drafts] [css-position] ‘Sticky’ behavior is too limited as position scheme created from the elements nearest block level ancestor & margins (#2496)

^ This is unlikely going to happen without dramatically changing how `anchor()` works.

`anchor()` requires the anchor element's layout to have no dependency on the anchored element, so that's why it only works on out-of-flows and has a bunch of criteria for acceptable anchors. Sticky positioned elements are in flow and will affect anchor element's layout.

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


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

Received on Thursday, 1 June 2023 21:32:40 UTC