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

The WG has resolved to specify a more generic `position-container` that changes the containing block in https://github.com/w3c/csswg-drafts/issues/9868. If the new property is generic and applies to sticky positioning, I recon this could solve issue 2.

To summarize the resent developments: 

- **Issue 1** is partially solved by ignoring margins in sticky-post calculations ([#9052](https://github.com/w3c/csswg-drafts/issues/9052#issuecomment-1642600755)).
Unfortunately, this leaves us without a way to configure containing block insets. I have created a proposal to set these insets via the box inset properties ([#10754](https://github.com/w3c/csswg-drafts/issues/10754)).
- **Issue 2** might be solved by a more generic `position-container` ([#9868](https://github.com/w3c/csswg-drafts/issues/9868)).

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


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

Received on Monday, 19 August 2024 06:03:44 UTC