[whatwg] size attribute

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.

Ojan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20090428/01936b43/attachment.htm>

Received on Tuesday, 28 April 2009 12:15:04 UTC