box-sizing and text in value attribute of input element

Hi,

Check this test in Firefox (Gecko) and in Opera/Chrome (Blink)
http://jsbin.com/hegatadeju/1/edit?html,css,output

The value "hi" doesn't appear in Gecko, because there's no room left for it.
 <input type="text" value="hi">

In both Blink and Gecko the inner height is 0 (at least as shown by the devtools).

The spec doesn't say anything specific in this corner case.
http://dev.w3.org/csswg/css-ui/#box-sizing0

but it creates Web Compatibility issues.
https://bugzilla.mozilla.org/show_bug.cgi?id=1093626
https://bugzilla.mozilla.org/show_bug.cgi?id=1084906

Opinions?

-- 
Karl Dubost, Mozilla
http://www.la-grange.net/karl/moz

Received on Wednesday, 5 November 2014 06:28:03 UTC