RESOLVED CONFIGURATION CHANGED71937
Events on CSS before: pseudo elements do not fire
https://bugs.webkit.org/show_bug.cgi?id=71937
Summary Events on CSS before: pseudo elements do not fire
johnjbarton
Reported 2011-11-09 11:08:05 PST
Click events on content: area of CSS before: pseudo elements need to be fired so their container see the click. Test case: https://github.com/johnjbarton/Purple/blob/master/tests/eventListeners/CSSBeforeTargetArea.html If you click on the text in the first 'click here' example, nothing happens. BUG. If you click on the curly braces, the event fires, ok. The other two examples work. They only differ from the first example by the addition of a border. Tested on Chromium 17.0.935.0 (Developer Build 109266 Linux) and 17.0.928.0 dev. I'm assuming this is a WebKit rather than chrome bug. On Firefox 9.0a2 the test case works.
Attachments
Ahmad Saleem
Comment 1 2022-08-12 14:23:34 PDT
Took test case from Github and changed it into JSFiddle: Link - https://jsfiddle.net/4onsw1cq/show The fail case on the test case now work in Safari 15.6 on macOS 12.5 and also on Safari Technical Preview 151 and show alert with "click" in it. It seems that it is fixed along the way, I am going to mark this as "RESOLVED CONFIGURATION CHANGED". If it is reproducible by someone and it is not desired behavior, please reopen. Also it works across all other browsers (Chrome Canary 106 and Firefox Nightly 105). Thanks!
Note You need to log in before you can comment on or make changes to this bug.