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

Re: box-sizing and text in value attribute of input element

From: Florian Rivoal <florian@rivoal.net>
Date: Tue, 18 Nov 2014 15:38:28 +0100
Cc: www-style@w3.org
Message-Id: <6FEED4C7-50ED-49F7-BE0A-0A5D159780F0@rivoal.net>
To: Boris Zbarsky <bzbarsky@MIT.EDU>, Karl Dubost <kdubost@mozilla.com>

> On 05 Nov 2014, at 21:43, Florian Rivoal <florian@rivoal.net> wrote:
> 
> 
>> On 05 Nov 2014, at 18:26, Boris Zbarsky <bzbarsky@MIT.EDU> wrote:
>> 
>> On 11/5/14, 12:20 PM, Brad Kemper wrote:
>>> Seems like some replaced elements (i.e., inputs, but not textareas) have an absolute minimum height of their content height
>> 
>> That's clearly not true, unless you think this absolute minimum height
>> mechanism somehow shrinks the used padding...
> 
> It rather seems to me that the cotent area stays at 0 (and the padding stays unchanged), but that the replaced element overflows it, since it doesn’t fit at its minimum size (in non gecko browsers).
> 
> That said, the overflow mechanism involved here does seem a bit unusual, since it doesn’t seem to respond to the overflow property.

I’d be nice if we could reach some conclusion here.

1) Do we all agree that this has nothing to do with box-sizing after all, since it can be reproduced without using it

2) Does it sound like my explanation or Brad’s hits close enough to the mark?

3) Does something need to be added to a spec (which?)

 - Florian
Received on Tuesday, 18 November 2014 14:38:52 UTC

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