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)
Tracking
()
RESOLVED
INVALID
People
(Reporter: joern.reimerdes, Unassigned)
References
Details
(Keywords: regression)
Attachments
(1 file)
551 bytes,
text/html
|
Details |
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.
Reporter | ||
Comment 1•8 years ago
|
||
Might be related to https://bugzilla.mozilla.org/show_bug.cgi?id=1287655
Blocks: 1287655
Comment 2•8 years ago
|
||
Do you by any chance have a minimal testcase? Could you attach it using "Add an attachment"?
[Tracking Requested - why for this release]:
regression
tracking-firefox51:
--- → ?
tracking-firefox52:
--- → ?
tracking-firefox53:
--- → ?
tracking-firefox54:
--- → ?
Keywords: regression
Reporter | ||
Comment 3•8 years ago
|
||
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.
Reporter | ||
Updated•8 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
Comment 4•8 years ago
|
||
Updating tracking flags based on resolution.
tracking-firefox51:
? → ---
tracking-firefox52:
? → ---
tracking-firefox53:
? → ---
tracking-firefox54:
? → ---
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.
Description
•