W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2009

[whatwg] size attribute

From: Kristof Zelechovski <giecrilj@stegny.2a.pl>
Date: Tue, 28 Apr 2009 09:03:11 +0200
Message-ID: <D88D41A8EE81416D99BDE238CF1544ED@POCZTOWIEC>
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.

Received on Tuesday, 28 April 2009 00:03:11 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:11 UTC