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

Is this the right way to ask the question though? Spec quote from the part that defines [Intrinsic contributions](https://www.w3.org/TR/css-sizing-3/#intrinsic-contribution):

> A box’s min-content contribution/max-content contribution in each axis is the size of the content box of a hypothetical auto-sized float that contains only that box

That's about the content box, so to me, it's pretty clear that they should not include the scrollbar size, as that's not in the content area. However, when you calculate the outer size, starting from the content size, you should add the padding, scrollbar gutter, border and margin, and if you skip adding the scrollbar gutter, you get weird results.

-- 
GitHub Notification of comment by frivoal
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3348#issuecomment-855543354 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 03:09:13 UTC