Closed Bug 1333737 Opened 8 years ago Closed 8 years ago

Input with type=number selectionStart returns null on Firefox 51

Categories

(Firefox :: Untriaged, defect)

51 Branch
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: joern.reimerdes, Unassigned)

References

Details

(Keywords: regression)

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0 Build ID: 20161208153507 Steps to reproduce: On an input element with type=number calling selectionStart in JavaScript returns `null` and not the index of the selection. Same problem with selectionEnd Actual results: The value is null. Expected results: It should have returned the index of the first character of the selection.
Do you by any chance have a minimal testcase? Could you attach it using "Add an attachment"? [Tracking Requested - why for this release]: regression
Added example html file. But as statet in https://www.w3.org/TR/html5/forms.html#number-state-(type=number) selectionStart is not supported on type number. So this bug can be closed.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
Updating tracking flags based on resolution.
Attachment #8830286 - Attachment filename: file_1333737.txt → file_1333737.html
Attachment #8830286 - Attachment mime type: text/plain → text/html
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: