Re: [csswg-drafts] [css-overflow-3] Reserved scroller space between content edge and padding edge (#11288)

> What you’re calling "inner border" is actually the padding edge

That's according to CSS Box. CSS Overflow is implicitly patching the definition: https://drafts.csswg.org/css-overflow-3/#scrollbar-sizing

> When reserving space for a scrollbar placed at the edge of an element’s box, the reserved space is inserted between the inner border edge and the outer padding edge. For the purpose of the [background positioning area](https://drafts.csswg.org/css-backgrounds-3/#background-positioning-area) and [background painting area](https://drafts.csswg.org/css-backgrounds-4/#background-painting-area) however, this reserved space is considered to be part of the [padding box](https://drafts.csswg.org/css-box-4/#padding-box).

Ergo the scrollbar gutter is not normally considered to be part of the padding box.

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


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

Received on Friday, 29 November 2024 11:27:15 UTC