Re: [csswg-drafts] [css-sizing-4] Scrollbars when intrinsic-width is > width? (#4415)

> is to at least partially replace the calculations of "how big is my content".

Is it? It feels to me that it is to replace the calculations of "how big am I", which typically depends on content, but isn't the same.

Anyway, leaving the possibility of `::contents` aside, I still don't see why triggering scrollbars would be useful here. Again, and image can have a big intrinsic size, but if you size it to something smaller than that, it doesn't cause scrollbars, it just resizes to the size you asked. I think it should be the same with non replaced elements, and you'd only get scrollbars if the content of the element sticks out, which is a separate question.

Asking differently, especially given that it doesn't obviously fall out of how things work, I'd like to see a use-case for wanting scrollbars based on the intrinsic size when there's not actual content to scroll to.

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

Received on Wednesday, 16 October 2019 03:26:47 UTC