[whatwg] size attribute

Kristof Zelechovski giecrilj at stegny.2a.pl
Tue Apr 28 00:03:11 PDT 2009

Regarding The size attribute

The user does not see characters, she sees glyphs.  If the text input
control uses a variable-spaced typeface, the user agent must consider the
maximum glyph width for the worst case (WWW in Latin or whatever), which may
be excessive, or resize the control on the fly (causing a reflow, which
would be unexpected and annoying).

My text was intended as an amendment to the first sentence only.  In
particular, I think that the comment about ligatures is worth including.


More information about the whatwg mailing list