[svg-developers] Re: dragging has varying browser behaviour - what is correct?

2011-01-19 Thread gb_n_svg
Jake Thank you! The diagram at http://www.w3.org/TR/DOM-Level-3-Events/#event-flow looks like the thing I wanted. I never thought to look at DOM level 3 (It would be very nice if this diagram was in lower level DOM spec's :-( The other articles look very useful too. Cheers! GB-) --- In

Re: [svg-developers] Re: dragging has varying browser behaviour - what is correct?

2011-01-19 Thread Jacob Beard
I feel like I've seen that diagram elsewhere besides the DOM Level 3 spec, but strangely, I wasn't able to find it. Jake On 11-01-19 12:36 PM, gb_n_svg wrote: Jake Thank you! The diagram at http://www.w3.org/TR/DOM-Level-3-Events/#event-flow looks like the thing I wanted. I never

[svg-developers] Re: dragging has varying browser behaviour - what is correct?

2011-01-18 Thread gb_n_svg
Sorry, my request for some documentation wasn't at all clear. What I should have said is more like ... I am happy to ask questions, but I'd prefer to know how to diagnose stuff like this for myself. So, is their a tool, or a clear, preferably diagrammatic, document or representation

Re: [svg-developers] Re: dragging has varying browser behaviour - what is correct?

2011-01-18 Thread Jacob Beard
Here's a diagrammatic representation of DOM event flow: http://www.w3.org/TR/DOM-Level-3-Events/#event-flow Here you can find a textual description of the stable DOM Level 2 spec: http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-flow Wikipedia has a useful article as well:

[svg-developers] Re: dragging has varying browser behaviour - what is correct?

2011-01-17 Thread gb_n_svg
Jake - Thanks for the advice. Is the evt.preventDefault(); called on *EVERY* mouse event, or only once, initially in an onload, or something? GB --- In svg-developers@yahoogroups.com, Jacob Beard jbeard4@... wrote: On 11-01-17 05:21 PM, GB wrote: Firefox often (but not always)

[svg-developers] Re: dragging has varying browser behaviour - what is correct?

2011-01-17 Thread gb_n_svg
Jake - Thank you! I have checked in Chrome, and adding evt.preventDefault(); into the onmousedown event handler stops the flickering text highlight. I have checked in Firefox 4b9, and adding evt.preventDefault(); into the onmousedown event handler stops the wierd text drag thing. Excellent,

Re: [svg-developers] Re: dragging has varying browser behaviour - what is correct?

2011-01-17 Thread Jacob Beard
Sure. Here's some documentation on evt.preventDefault: https://developer.mozilla.org/en/DOM/event.preventDefault Here's a bug report related to the SVG drag issue in Firefox: https://bugzilla.mozilla.org/show_bug.cgi?id=525591 That's about all I know of it. Cheers, Jake On 11-01-17 07:34