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.)
Received on Saturday, 21 March 2009 01:49:27 UTC

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