Bug 55942 - blur fired on disabled inputs
Summary: blur fired on disabled inputs
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: UI Events (show other bugs)
Version: 525.x (Safari 3.2)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: BrowserCompat, InRadar
Depends on:
Blocks:
 
Reported: 2011-03-08 07:28 PST by Nicolae Racovita
Modified: 2024-02-08 15:44 PST (History)
4 users (show)

See Also:


Attachments
html page to show the issue (764 bytes, text/html)
2011-03-08 07:28 PST, Nicolae Racovita
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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>