W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > March 2011

[Bug 12256] <input type=number value=""> should be valid?

From: <bugzilla@jessica.w3.org>
Date: Sun, 06 Mar 2011 14:23:49 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1PwEs9-00050y-Lq@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=12256

Philip Jägenstedt <philipj@opera.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |philipj@opera.com

--- Comment #1 from Philip Jägenstedt <philipj@opera.com> 2011-03-06 14:23:49 UTC ---
>From http://validator.nu/?doc=http%3A%2F%2Fhtml5.org%2Ftools%2Fweb-apps-tracker
:

"Error: Bad value  for attribute value on element input: The empty string is
not a valid floating point number."

The offending markup:

<input id=from type=number min=1 value="" name=from required>

The reason this was output was the template code in trackerlib.py:

<input id=from type=number min=1 value="%s" name=from required>

Unless there's any harm in allowing value="" here, maybe we should allow it?

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Sunday, 6 March 2011 14:23:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 March 2011 14:23:51 GMT