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

I wouldn't say that this example is completely the same. As you stated yourself, it requires a bit of messy semantics with "unneeded" wrappers. Also from the example of your codepen. When moving out of the content area, the headers get removed one by one starting with the deeper nested one first. Would be nice to have the sticky "scroll out / become unsticky' together. 

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


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

Received on Saturday, 6 August 2022 06:15:14 UTC