blog
discuss
releases
documentation

Development Blog

Radcliffe slays the inspect offset bug

Firebug’s most famous feature has to be ‘inspect’, the ability to mouse over the UI and have the debugger show you the UI content underneath. Other development tools have this ability, but Joe Hewitt’s integration of this feature into Firebug was excellent.

fb1
Well except for one annoying bug: sometimes the indicator frame was off set from the actual element. This was rarely seen, but since inspect is such a valuable feature, it resulted in at least 6 bug reports and numerous complaints on the newsgroup.

I took a stab at it a while back, but there were lots of cases which seemed different and lots of paths in the code.

Luckily Mike Radcliffe decided to take a break from excellent work on Firebug Lite to take a look. He started by gathering up all the test cases in to issue 1688. He had a hint from bug 356665 to apply getBoundingClientBox. Then presto, we have a fix in Firebug 1.4a24.

Nice work Mike.

jjb

Please follow up on the newgroup

One Response to “Radcliffe slays the inspect offset bug”

  1. johnjbarton Says:

    Norman, just a bug, already fixed for the next release. jjb