[whatwg] size attribute

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