Re: [csswg-drafts] [css-overflow-3][css-sizing-3] Define contribution of scrollbars to min-content/max-content sizes (#3348)

css-overflow [has this](https://drafts.csswg.org/css-overflow-3/#scrollbar-layout):
> Any space taken up by the scrollbars should be taken out of (subtracted from the dimensions of) the containing block formed by the element with the scrollbars.

which is probably a bit too casual in its phrasing. If we're doing available width sizing, then yes, we start with the dimension of the containing block, and substract the m/b/p *and* the size of the gutter, but otherwise, when we're sizing from the content box outwards, then the size of the scrollbar gutter needs to be *added* to the the inner size, along with m/b/p, to get to the outer size.

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


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

Received on Monday, 7 June 2021 05:00:54 UTC