Created attachment 105622 [details] HTML source of the page which doesn't add/remove a style element. <http://test.elvanor.net/js/webkit/element_from_point_works.html> (A) <http://test.elvanor.net/js/webkit/element_from_point.html> (B) In the above pages, I have a div and a hidden span inside. There's an inline script on both pages which logs what element was clicked using document.elementFromPoint. The script on the second page (B) also creates a style element, adds it to <head> and removes it instantly. I believe the expected logged element (on both pages) when clicking the div is <div>, since the span is hidden. Expected: (A): Div (B): Div Here's what is logged when clicking on each page: Chromium 13.0.782.215 (Linux) : (A): Div (B): Span Safari 5.1 (7534.48.3) (Mac OS X 10.7) : (A): Div (B): Span Safari nightly 5.1 (7534.48.3, r94061) (Mac OS X 10.7) : (A): Span (B): Span Google Chrome 13.0.782.215 (Mac): (A): Div (B): Span
Created attachment 105623 [details] HTML source of the page which does add/remove a style element.
Sorry I attached the URLs when I meant to attach the source.
Safari 5.1.7 (7534.57.2) (Mac OS X 10.7) : (A): Span (B): Span
Safari 6.0 (8536.25) (Mac OS X 10.8) : (A): Div (B): Span
Safari 6.0.4 (8536.29.13) (Mac OS X 10.8.3) : (A): Span (B): Span
Safari 7.0 (9537.71) (Mac OS X 10.9) : (A): Span (B): Span
Google Chrome 30.0.1599.101 (Mac): (A): Div (B): Div Bug is now fixed on Chrome and not on Safari.
Safari 7.0.4 (9537.76.4) (Mac OS X 10.9.3) : (A): Div (B): Span ...and we're back gain to Safari 5.1's behavior :-)
Safari 8.0.7 (10600.7.12) (Mac OS X 10.10.4) : (A): Div (B): Div Seems the bug is solved for now. What a nice 4 years ride.
Safari 11.1 (13605.1.33.1.4) (Mac OS X 10.13.4 (17E202)) : (A): Div (B): Div My watch has ended.
User confirmed in Comment 10 that this is fixed. Marking this as "RESOLVED CONFIGURATION CHANGED". Thanks!