Bug 15696 - Safari and Firefox differ in event handling behavior when placing <div> elements inside <button> elements
Summary: Safari and Firefox differ in event handling behavior when placing <div> eleme...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 523.x (Safari 3)
Hardware: Macintosh OS X 10.4
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-25 16:55 PDT by Kevin Decker
Modified: 2012-10-19 13:14 PDT (History)
0 users

See Also:


Attachments
test case (123 bytes, text/html)
2007-10-25 16:55 PDT, Kevin Decker
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Decker 2007-10-25 16:55:12 PDT
Safari and Firefox differ in event handling behavior when placing <div> elements inside <button> elements. 

* STEPS TO REPRODUCE
1. Open attached test case and click within the red block.

* RESULTS
In Firefox, the button gets the event. In Safari both the div *and* button receive events.
Comment 1 Kevin Decker 2007-10-25 16:55:39 PDT
Created attachment 16868 [details]
test case
Comment 2 Gabriel Humeniuc 2009-05-09 10:22:51 PDT
The comportament of Firefox is similar in Internet Explorer 6, and Opera 9.63 whitch I presume it is correct one.

Comment 3 Alexey Proskuryakov 2012-10-19 13:14:55 PDT
See also: bug 89041, bug 99712.