Bug 118743 - no click triggered on element if inner text node is positioned on mouse down
Summary: no click triggered on element if inner text node is positioned on mouse down
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: UI Events (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.8
: P2 Normal
Assignee: Nobody
URL: http://jsfiddle.net/J4Kkx/
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-16 11:52 PDT by Yuri Tkachenko
Modified: 2013-09-24 06:09 PDT (History)
0 users

See Also:


Attachments
screencast for this bug (943.55 KB, application/x-shockwave-flash)
2013-07-16 11:52 PDT, Yuri Tkachenko
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Tkachenko 2013-07-16 11:52:22 PDT
Created attachment 206802 [details]
screencast for this bug

sorry, it is hard to explain, but 
  -- if you will attach click handler to parent dom node 
  -- and than on mousedown you will move a bit inner dom node
  -- so text node of this inner dom node, i assume, becomes like a mouseup target — than no click triggered

i attached a vide and a link to jsFiddle, that represent a bug

tested only on mac (Safari 6.0.5 (8536.30.1), WebKit nightly 152685, Chrome 28.0.1500.71)
Comment 1 Yuri Tkachenko 2013-07-17 01:48:26 PDT
same bug posted to chromium
https://code.google.com/p/chromium/issues/detail?id=260797
Comment 2 Yuri Tkachenko 2013-09-24 06:09:35 PDT
found workaround: http://jsfiddle.net/fwHn5/1/
to add pointer-events: none; to inner dom-node