We had a strange issue with Firefox 3.x and the access to document.styleSheets[x].cssRules (where x is a valid index in the styleSheets array).

It seems that if that property is accessed after the...