RESOLVED CONFIGURATION CHANGED 9267
Quirksmode: Handler for event target is executed during the capture phase
https://bugs.webkit.org/show_bug.cgi?id=9267
Summary Quirksmode: Handler for event target is executed during the capture phase
Adele Peterson
Reported 2006-06-02 14:57:51 PDT
http://www.quirksmode.org/bugreports/archives/safari/index.html "The DOM 2 event spec requires that the capture phase event handlers should only be activated on ancestors of the event target, and not the event target itself. Mozilla and Safari break this rule in different ways, and fire it on the event target as well. Test page http://www.howtocreate.co.uk/mozBugs/testcapture.html Workaround is included Reported by: TarquinWJ."
Attachments
test case (2.65 KB, text/html)
2008-12-29 14:33 PST, Robert Blaut
no flags
Joost de Valk (AlthA)
Comment 1 2006-06-24 14:02:29 PDT
Changing component, good testcase.
Robert Blaut
Comment 2 2008-12-29 14:33:20 PST
Created attachment 26299 [details] test case I'm not sure if it's still valid bug report.
Robert Blaut
Comment 3 2008-12-29 14:37:47 PST
(In reply to comment #2) > I'm not sure if it's still valid bug report. > Since Opera 10 mimics Firefox behavior in this test.
Gavin Barraclough
Comment 4 2011-06-16 21:32:11 PDT
Re-categorizing; this looks like an event handling bug.
Ahmad Saleem
Comment 5 2022-07-12 07:40:17 PDT
I am getting following behavior across all browsers based on attached test case: *** Safari 15.5 on macOS 12.4 *** -> <div> capture dialog -> Error dialog [paragraph capture] -> paragraph bubble dialog -> <div> bubble dialog *** Chrome Canary 105 on macOS 12.4 *** (matches with Safari 15.5) -> <div> capture dialog -> Error dialog [paragraph capture] -> paragraph bubble dialog -> <div> bubble dialog *** Firefox Nightly on macOS 12.4 *** -> <div> capture dialog -> paragraph bubble dialog -> Error dialog [paragraph capture] -> <div> bubble dialog I am not clear on what is expected behavior but since it is raised to match Firefox behavior, which is still not the case. I think it is still reproducible. Thanks!
Ahmad Saleem
Comment 6 2024-01-23 18:47:38 PST
(In reply to Ahmad Saleem from comment #5) > I am getting following behavior across all browsers based on attached test > case: > > *** Safari 15.5 on macOS 12.4 *** > > -> <div> capture dialog > -> Error dialog [paragraph capture] > -> paragraph bubble dialog > -> <div> bubble dialog > > *** Chrome Canary 105 on macOS 12.4 *** (matches with Safari 15.5) > > -> <div> capture dialog > -> Error dialog [paragraph capture] > -> paragraph bubble dialog > -> <div> bubble dialog > > *** Firefox Nightly on macOS 12.4 *** > > -> <div> capture dialog > -> paragraph bubble dialog > -> Error dialog [paragraph capture] > -> <div> bubble dialog > > I am not clear on what is expected behavior but since it is raised to match > Firefox behavior, which is still not the case. I think it is still > reproducible. Thanks! Firefox Nightly 124 is now behaving same as Safari / WebKit. So marking this as 'RESOLVED CONFIGURATION CHANGED'.
Note You need to log in before you can comment on or make changes to this bug.