This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 27519 - It is a bit unclear what "has changed the value" means if a user changes the value and then changes it back before the control loses focus. I believe the correct thing to do in those cases is to not fire the event.
Summary: It is a bit unclear what "has changed the value" means if a user changes the ...
Status: RESOLVED MOVED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: https://html.spec.whatwg.org/#unfocus...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-04 17:40 UTC by contributor
Modified: 2016-04-08 23:16 UTC (History)
3 users (show)

See Also:


Attachments

Description contributor 2014-12-04 17:40:39 UTC
Specification: https://html.spec.whatwg.org/
Multipage: https://html.spec.whatwg.org/multipage/#unfocus-causes-change-event
Complete: https://html.spec.whatwg.org/#unfocus-causes-change-event
Referrer: https://www.google.se/

Comment:
It is a bit unclear what "has changed the value" means if a user changes the
value and then changes it back before the control loses focus. I believe the
correct thing to do in those cases is to not fire the event.

Posted from: 212.247.211.200
User agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.62 Safari/537.36 OPR/26.0.1656.20 (Edition beta)
Comment 1 Daniel Bratell 2014-12-04 17:43:59 UTC
The text mentioned combined with 4.10.5.5 which says "the events are fired to indicate that the user has interacted with the control" makes it a little unclear if writing a letter and then deleting it should result in an event or not.
Comment 2 Domenic Denicola 2016-04-08 23:16:18 UTC
https://github.com/whatwg/html/pull/1016