W3C home > Mailing lists > Public > www-style@w3.org > November 2014

box-sizing and text in value attribute of input element

From: Karl Dubost <kdubost@mozilla.com>
Date: Wed, 5 Nov 2014 15:27:30 +0900
Message-Id: <96D95415-8E61-4705-822D-A8A47C558403@mozilla.com>
To: www-style@w3.org
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

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:26 UTC