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

> Yes, but for the original demo I see that the scrollbar is sticking against inner border edge, which is visually what I would want for that demo: I would keep the scrollbar origin set to padding-box, but then would want to vertically inset the scrollbar by the height of the border-radius.

Right, with `contenxt-box` you could set padding-top and padding-bottom only and then it would stay aligned to the right edge. Though I suppose that wouldn't provide a way to have your horizontal scrollbar do the same avoidance.

-- 
GitHub Notification of comment by flackr
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12385#issuecomment-3523477497 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 19:04:01 UTC