Short answer
If you have the FireQuery extension (1.4.1) for Firebug installed, that might be the culprit.
Long answer
While using that jsFiddle it turned out to be working in both Chrome and FF. After copying the code and using it as plain HTML, it still worked in Chrome but failed in FF. But it was exactly the same code! At that point I started disabling FF add-ons. The journey ended when I arrived at FireQuery. Hopefully I can save some of you from a very frustrating day with this. Why it's actually still working in jsFiddle with the add-on enabled eludes me at this point. I also don't know if it is limited to OSX only, could be on Windows as well.