Closed Bug 1105920 Opened 10 years ago Closed 5 years ago

html5 input type="number" with an associated datalist does not indicate that a datalist is present

Categories

(Core :: Layout: Form Controls, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla74
Tracking Status
firefox74 --- verified

People

(Reporter: asgraf, Assigned: emilio)

References

()

Details

(Keywords: dev-doc-needed, reproducible, testcase)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Build ID: 20141024174436 Steps to reproduce: <input type="number" list="years"> <datalist id="years"> <select> <option value=""></option> <option value="2034">2034</option> <option value="2033">2033</option> <option value="2032">2032</option> <option value="2031">2031</option> <option value="2030">2030</option> <option value="2029">2029</option> <option value="2028">2028</option> <option value="2027">2027</option> <option value="2026">2026</option> <option value="2025">2025</option> <option value="2024">2024</option> <option value="2023">2023</option> <option value="2022">2022</option> <option value="2021">2021</option> <option value="2020">2020</option> <option value="2019">2019</option> <option value="2018">2018</option> <option value="2017">2017</option> <option value="2016">2016</option> <option value="2015">2015</option> <option value="2014">2014</option> </select> </datalist> Actual results: No datalist is shown on firefox (on google chrome this works correctly) Expected results: Datalist should be shown
Status: UNCONFIRMED → NEW
Component: Untriaged → Layout: Form Controls
Ever confirmed: true
OS: Linux → All
Product: Firefox → Core
Hardware: x86_64 → All
Version: 31 Branch → Trunk
jwatt, do you have cycles to look at this?
Flags: needinfo?(jwatt)
Not really, sorry.
Flags: needinfo?(jwatt)
Flagged dev-doc-needed; this affects the document at https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/number, which has a note about the fact that the list attribute doesn't do anything in some browsers, including Firefox.
Keywords: dev-doc-needed

this is working with the new firefox release (74) so i think you can close this ticket.

Blocks: 1620778
Assignee: nobody → emilio
Blocks: 981248
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla74
You need to log in before you can comment on or make changes to this bug.