[whatwg] size attribute
ojan at chromium.org
Tue Apr 28 12:15:04 PDT 2009
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the whatwg