(bug 40585) Don't drop 'step="any"' in HTML input fields.
authorTim Landscheidt <tim@tim-landscheidt.de>
Thu, 29 Nov 2012 12:12:35 +0000 (12:12 +0000)
committerTim Landscheidt <tim@tim-landscheidt.de>
Fri, 7 Dec 2012 19:26:29 +0000 (19:26 +0000)
commit6dc4039270af99413cc7c3bf85b136d9a79e7497
treef3ea5c4571dfc99e45dbc595cd06e1a4b919a475
parent25c0031c0894cb6906de88a639c25f052c570f87
(bug 40585) Don't drop 'step="any"' in HTML input fields.

The default value for "step" is "1" which effectively bans any decimal
number from being entered into an 'type="number"' field and makes
HTMLFloatField unusable.

Change-Id: I103fd4047814a7fb0dfdc174f36badd5b660b7a4
includes/Html.php
tests/phpunit/includes/HtmlTest.php