W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2009

[whatwg] size attribute

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 5 Jun 2009 01:21:52 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0906050102050.1648@hixie.dreamhostps.com>
On Tue, 28 Apr 2009, Ojan Vafai wrote:
> On Tue, Apr 28, 2009 at 12:34 AM, Ian Hickson <ian at hixie.ch> wrote:
> > 
> > For implementors, the spec already gives, to the pixel, the length 
> > required (in the rendering section).
> 
> Speaking of which, the spec isn't quite accurate to what IE does here. 
> The spec lists (size-1)?avg + max as the converting a character width to 
> pixels algorithm, which matches IE for text inputs, but not for 
> textareas. For textareas it's just size?avg.

Fixed, I think.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 4 June 2009 18:21:52 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:13 UTC