User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0 Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0 SVG elements do not support the ondblclick event handler. HTMLElement and VML (on Internet Explorer) both support this event handler. Reproducible: Always
Assignee: nobody → general
Component: General → SVG
Product: Firefox → Core
QA Contact: general → ian
Version: unspecified → Trunk
SVG 1.1 does not define an ondblclick event attribute: http://www.w3.org/TR/SVG11/script.html#GraphicsEvents
I know. That's why I added this as an enhancement.
I'll be surprised if clickCount doesn't work. Can you provide a testcase?
Created attachment 245121 [details] Test case for ondblclick. Shows onclick, onmousedown, and onmouseup working with evt.detail equal to the click count.
You're right about clickCount (evt.detail). I still think that this is worth considering given that HTMLElement and VML elements (on Internet Explorer) implement it.
Summary: Implement ondblclick (or clickCount) for SVGElement → Implement ondblclick for SVGElement
fair enough. I think there are a lot of higher priority issues though (given that there's a workaround).
I think we should really encourage people to be using the W3C way, which is to check .detail for the click count. Hence closing as wontfix.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 11 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.