Re: [csswg-drafts] Proposal: `scrollbar-offset` property (#12385)

Instead of giving the scrollbar a completely configurable offset, what if we had a property that put the scrollbar on the inside of the padding instead of the outside?

This would:
* ensure that in the common case you don't get scrolling text going behind the scrollbar.
* allow non-overlay scrollbars to continue to reserve extra space - just inside the padding box rather than outside it.

E.g. we could have something similar to the `box-sizing` or `background-origin` property:
```css
scrollbar-origin: padding-box | content-box;
```

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


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

Received on Wednesday, 12 November 2025 14:04:36 UTC