Re: [csswg-drafts] [css-overflow] Top layer containing block and scrollbar-gutter (#9904)

Being able to position stuff above the root scrollbar would be great, as otherwise we have to do the following:

1. Read the width of the scrollbar.
2. Apply `overflow: hidden` to the root alongside adding it back via a `padding`, so the elements below don't shift (potentially reading the existing padding value to restore it later).
3. Now we can position something above everything.

So having some way to make an element in the top layer go beyond the default scrollbar will be great, and doing this for fixed position makes sense (as abspos we'd want to be under the default scrollbar).

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


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

Received on Wednesday, 10 April 2024 15:11:29 UTC