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

Wow... `grid-template-rows: minmax(0, 1fr)` actually does work.  I never considered using 'fraction' like that, probably because it's such a new measurement!  Thanks!  Yes, on careful reading of the spec, it looks like the 100% should also work and that one's a bug in Fx.

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

Well, no, because that causes the overlaid content to scroll with the scrollable content.  This was to fix the content in place, which now seems to have been solved with grid, sticky, and crucially setting the grid row height with minmax(0,1fr) instead of percentage.

-- 
GitHub Notification of comment by jez9999
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8066#issuecomment-1312842951 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:51:10 UTC