We were adapting a method posted here highlight a DOM element on mouse over, like inspect does to NOT use jQuery.
We came up with this solution so fa
You could avoid the mouse events being intercepted by the overlay by changing its properties, namely by making it transparent and relying on outline
or, with size calculation adjustments, border
:
background:transparent;
outline:1px dotted red;
Fiddle'd
Alternatively, you could not rely on an overlay but instead toggle a class on the element itself whenever "moused over". If you cache the reference to it, you could then remove the class when "moused out", rinse, repeat. I'll fiddle with the idea for a little bit more to see how viable it is.