[Webkit-unassigned] [Bug 135552] onchange event not firing on blur

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 7 14:56:19 PST 2022


https://bugs.webkit.org/show_bug.cgi?id=135552

--- Comment #7 from Ahmad Saleem <ahmad.saleem792 at gmail.com> ---
(In reply to Ahmad Saleem from comment #6)
> (In reply to Karl Dubost from comment #5)
> > https://html.spec.whatwg.org/multipage/input.html#common-input-element-
> > events:event-change
> > 
> > > The change event fires when the value is committed, if that makes sense for the control, or else when the control loses focus. In all cases, the input event comes before the corresponding change event (if any).
> > 
> > about losing focus
> > https://html.spec.whatwg.org/multipage/interaction.html#unfocus-causes-
> > change-event
> > 
> > > 1. If entry is an input element, and the change event applies to the element, and the element does not have a defined activation behavior, and the user has changed the element's value or its list of selected files while the control was focused without committing that change (such that it is different to what it was when the control was first focused), then fire an event named change at the element, with the bubbles attribute initialized to true.
> 
> Is this blink commit will fix this for input text field?
> https://src.chromium.org/viewvc/blink?view=revision&revision=170511

Webkit GitHub Code - https://github.com/WebKit/WebKit/blob/fe8689f79ea0d1c46c2bda3b805bb4315385cf02/Source/WebCore/page/FocusController.cpp#LL310

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20221207/da3410a7/attachment-0001.htm>


More information about the webkit-unassigned mailing list