Re: [csswg-drafts] CSS :active and JS mousedown preventDefault complication

@FremyCompany you generally want to talk to @smaug---- about event issues.  But as I said in the bug you link, the default action of mousedown is to make things active.  If you prevent its default action... they don't become active.

The definition of :active is not specific to links (or shouldn't be; lots of other things can become :active), so I'm not sure how a link-specific bit of text is relevant.

> In firefox, preventDefault'ing the mousedown event prevents the click event to fire.

What makes you say that, exactly?   My testcase at http://jsbin.com/qugizofuhe/edit?html,output shows an alert in Firefox.

-- 
GitHub Notification of comment by bzbarsky
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2262#issuecomment-362880473 using your GitHub account

Received on Sunday, 4 February 2018 04:42:22 UTC