Bug 5180 - event.stopPropagation() prevents the default action - it shouldn't
Summary: event.stopPropagation() prevents the default action - it shouldn't
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Maciej Stachowiak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-28 23:12 PDT by Maciej Stachowiak
Modified: 2019-02-06 09:03 PST (History)
1 user (show)

See Also:


Attachments
Test case - says PASS in Firefox, but FAIL is Safari (627 bytes, text/html)
2005-09-28 23:18 PDT, Maciej Stachowiak
no flags Details
the fix (including layout tests that work in the browser too) (5.94 KB, patch)
2005-09-29 00:33 PDT, Maciej Stachowiak
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Maciej Stachowiak 2005-09-28 23:12:20 PDT
event.stopPropagation() prevents the default action in Safari. But it shouldn't do that. It should stop further 
capture and bubbling, but only event.preventDefault() should prevent the default action.
Comment 1 Maciej Stachowiak 2005-09-28 23:18:07 PDT
Created attachment 4088 [details]
Test case - says PASS in Firefox, but FAIL is Safari
Comment 2 Maciej Stachowiak 2005-09-29 00:33:45 PDT
Created attachment 4089 [details]
the fix (including layout tests that work in the browser too)
Comment 3 Darin Adler 2005-09-29 09:22:36 PDT
Comment on attachment 4089 [details]
the fix (including layout tests that work in the browser too)

Looks good, r=me.
Comment 4 Lucas Forschler 2019-02-06 09:03:13 PST
Mass moving XML DOM bugs to the "DOM" Component.