Re: [csswg-drafts] [css-position] Proposal for new 'position' value: fixed-to-parent (#8066)

No, the problem in Firefox is [bug 1481876](https://bugzilla.mozilla.org/show_bug.cgi?id=1481876), which prevents `grid-template-rows: 100%` to resolve against the final height of the grid container. It basically behaves as `grid-template-rows: auto`. So the row (height of the containing block for the sticky) ends up being larger than the height of the scroll container.

Just use `grid-template-rows: 300px` or `grid-template-rows: minmax(0, 1fr)` and it will work.

Your `fixed-to-parent` proposal seems like `position: absolute` with `position: relative` on the parent.

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


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

Received on Sunday, 13 November 2022 22:14:45 UTC