Re: [csswg-drafts] [css-2] overflow: hidden cause extra space

Very good question! It applies to `inline-grid` elements as well. I found no remark about them like that for the inline-blocks in neither CSS Flexbox nor CSS Display specs, so the behavior of Blink and Edge seems to be technically spec-compliant. However, in case when such an element with `overflow: hidden` (or `auto`/`scroll`) has fixed height and it's content has much vertical space _above_ its first text line (see the fork of your pen), I'd say that the Gecko's behavior, reusing the logic for inline-blocks, makes more sense.

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

Received on Thursday, 28 June 2018 17:54:40 UTC