- From: Rene Saarsoo <nene@triin.net>
- Date: Sun, 25 Mar 2007 23:33:47 +0300
- To: public-html@w3.org
Dave Raggett wrote: > The current WF2 spec says: > "For numeric controls, the default value > of the step attribute is 1." >[snip] how do you indicate an infinitesimally small value with > step without an ugly assumption about the precision the implementation > is using to represent floating point numbers? From the same document, a few paragraphs below: "In addition, for any of the types, the literal value *any* may be used as the value of the step attribute. This keyword indicates that any value may be used (within the bounds of other restrictions placed on the control). The following control would allow any floating point number: <input type="number" step="any" name="n"> Hopefully this answers your question. -- Rene Saarsoo http://triin.net
Received on Sunday, 25 March 2007 21:33:17 UTC