JonnyJD / epydoc-m

maintenance fork of epydoc
1 stars 2 forks source link

mouseout event issue - sf 3575546 #7

Open JonnyJD opened 12 years ago

JonnyJD commented 12 years ago

patch from https://sourceforge.net/support/tracker.php?aid=3575546 (Jacob Beck)


There is a 'bug' of sorts in epydoc's generated 'epydoc.js' file. Browsers implement the 'onmouseout' event in a strange way that results in any link clicking auto-killing the doclink when hovered. There is a fix for that described here:

http://www.quirksmode.org/js/events_mouse.html#mouseover

I've uploaded a patch file that implements the above technique, applying it to epydoc/docwriter/html_colorize.py appears to fix the issue in all browsers I tested.