[whatwg] size attribute

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


Regarding 4.10.4.2.4 The size attribute
<URL:http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.html#
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.

HTH,
Chris




More information about the whatwg mailing list