Closed Bug 949134 Opened 11 years ago Closed 11 years ago

<input type=number> step up/down makes no sense with step="any"

Categories

(Core :: DOM: Core & HTML, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla29

People

(Reporter: markus.popp, Assigned: jwatt)

References

Details

Attachments

(1 file)

If you have an input type=name field like <input type="number" step="any"> ... to allow entering decimals, the up/down buttons are displayed, but don't do anything. You can try this at http://var.mpopp.net/number-bug/index.php Either the up/down buttons should not be displayed at all, or (IMO better and also like Chrome 31 does it) assume a step of 1 (while still allowing decimals to be entered manually).
Blocks: 344616
Sounds reasonable to me. Thanks for you bug report.
Attached patch patchSplinter Review
Attachment #8360570 - Flags: review?(bugs)
Assignee: nobody → jwatt
Status: NEW → ASSIGNED
Attachment #8360570 - Flags: review?(bugs) → review+
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 29
Component: General → DOM
Product: Firefox → Core
Target Milestone: Firefox 29 → mozilla29
Any chance to get this fix included in Firefox 28, now in beta?
Sorry, but there are too many things to uplift, so <input type=number> is going to be turned off in v28 (bug 962313).
Keywords: verifyme
Verified as fixed using latest Aurora 29.0a2 (20140305004002) under Win 7 64-bit and Ubuntu 32-bit.
Status: RESOLVED → VERIFIED
Keywords: verifyme
QA Contact: petruta.rasa
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: