Open Bug 1442956 Opened 6 years ago Updated 2 years ago

The input does not clear the selection range when onblur.

Categories

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

60 Branch
x86_64
Windows 10
defect

Tracking

()

UNCONFIRMED

People

(Reporter: nayinain, Unassigned)

Details

Attachments

(1 file)

Attached image capture.gif
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0
Build ID: 20180303220113

Steps to reproduce:

data:text/html;charset=UTF-8,A%3A%3Cinput%20type%3D%22text%22%20value%3D%22abcdefg%22%20id%3D%22a%22/%3E%3Cbr%3E%0AB%3A%3Cinput%20type%3D%22text%22%20value%3D%22abcdefg%22%20id%3D%22b%22/%3E%0A%3Cscript%3E%0Aa.setSelectionRange%280%2C5%29%3B%0Ab.setSelectionRange%280%2C5%29%3B%0Ab.blur%28%29%3B%0A%3C/script%3E

1. Open the dataURL in a Tab.


Actual results:

Input's A and B does not clear the selection range.


Expected results:

Input's A and B will clear the selection range.



Sorry for my poor English.
Component: Untriaged → DOM: Core & HTML
Keywords: regression
OS: Unspecified → Windows 10
Product: Firefox → Core
Hardware: Unspecified → x86_64
Any chance you could try to find the regression range?

https://mozilla.github.io/mozregression/ might be useful
Flags: needinfo?(nayinain)
(In reply to Olli Pettay [:smaug] (unusual timezone [JST] for a week) from comment #1)
> Any chance you could try to find the regression range?
> 
> https://mozilla.github.io/mozregression/ might be useful

I'm sorry, because I always feel different from my impression, and contrast Chrome's behavior is not the same, so think it is a kind of regression. I tested an earlier version (less then 56) and found that it was the same as it is now, only to find that I misunderstood.

Sorry for my poor English.
Flags: needinfo?(nayinain)
No need to apologize English usage. I'm rather bad with it too :)

Regression keyword means regression in Firefox handling.
Something being different to Chrome doesn't mean it is necessarily wrong.
Keywords: regression
P5, because the practical implications are unclear. Could be P3 if more use case context is provided.
Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: