Re: [csswg-drafts] [css-boxmodel] Allow the texts in input element to be painted into the top and bottom padding area.

@frivoal The spec now states:

> The `line-height` property has no effect

Source: https://drafts.csswg.org/css-ui-4/#control-specific-rules

But that’s not what browsers do. When `line-height` is set, the `<input type="text">` element increases in height to account for that.

Demo: https://codepen.io/simevidas/pen/zWRGJd

Shouldn’t the spec match browsers, or did I misunderstand it?

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

Received on Wednesday, 28 March 2018 19:49:26 UTC