Closed Bug 1173341 Opened 9 years ago Closed 8 years ago

change event triggers when blurring an input text with default value

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

38 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 926019

People

(Reporter: diez, Unassigned)

Details

Attachments

(1 file)

Attached file input.html
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0
Build ID: 20150525141253

Steps to reproduce:

Open attached file on Firefox.

Open console and click on first input box and second input box.


Actual results:

First input box triggers focus, change and blur on the first click. After first click, behaves like second box.

Second input box triggers focus and blur always.


Expected results:

First box should not trigger change event when default value is filled. It should behave like second box.

Tested on Chrome and IE and change event is never triggered.
Component: Untriaged → Event Handling
Product: Firefox → Core
seemes to be duplicate of Bug 926019
I've also added a more simplified attachment to the mentioned bug
This is fixed now.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: