twitter/bootstrap — pull request #1481 by dperetti (2012-02-01 03:09:24+00:00)
Title: Allow tooltips and popovers to position themselves correctly when used with svg elements. 

offsetWidth & offsetHeight don't work with svg elements.
This fix amends getPosition() so it uses getBoundingClientRect() when the tooltip is used with an svg element.