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

[whatwg] size attribute

From: Kristof Zelechovski <giecrilj@stegny.2a.pl>
Date: Sat, 21 Mar 2009 09:49:27 +0100
Message-ID: <9689D00ABFFD4531B1E962A7079587ED@POCZTOWIEC>
For implementors:
The size attribute gives the average number of glyphs that the reader of the
page will be able to see when the control is rendered and completely filled
with text.  (This depends on the language of the control and the current
style and accounts for ligature-driven scripts like Devanagari.)  
For authors:
The intent of this attribute is that the text length of expected user input
does not exceed the size of the control, with some safety room.  (NB: this
is different from the average text length of user input.)
HTH,
Chris
Received on Saturday, 21 March 2009 01:49:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:47:49 GMT