Bug 55942

Summary: blur fired on disabled inputs
Product: WebKit Reporter: Nicolae Racovita <nik>
Component: UI EventsAssignee: Nobody <webkit-unassigned>
Status: UNCONFIRMED ---    
Severity: Normal CC: bfulgham, karlcow, tkent, webkit-bug-importer
Priority: P2 Keywords: BrowserCompat, InRadar
Version: 525.x (Safari 3.2)   
Hardware: All   
OS: All   
See Also: https://bugs.webkit.org/show_bug.cgi?id=251246
Attachments:
Description Flags
html page to show the issue none

Description Nicolae Racovita 2011-03-08 07:28:48 PST
Created attachment 85048 [details]
html page to show the issue

What steps will reproduce the problem?
1. create an input type text, add an "onblur" event. 
2. set the focus to this input
3. add attribute disabled to it
4. move the focus to another input

What is the expected result?
the "onblur" function should not be called

What happens instead?
the "onblur" is called.
Comment 1 Kent Tamura 2011-06-06 17:03:35 PDT
This WebKit behavior looks consistent and reasonable.

Does any standard say we should not fire a blur event for a disabled element?
Comment 3 Radar WebKit Bug Importer 2024-02-08 15:44:35 PST
<rdar://problem/122588363>