id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,blockedby,blocking 13210,body in XML in Firefox,mccaskey,mccaskey,"Using jQuery 1.8.3, with this xslt file, bodyBug.xsl, {{{ jQuery body bug }}} and this xml file {{{ Hello World }}} this js file, bodyBug.js, {{{ jQuery(window).load(function(){ alert($('c').offset().top); }); }}} should alert a number when the xml file is opened. In Chrome it does, but in Firefox it does not. This error gets logged to the console: {{{ TypeError: body is undefined clientTop = docElem.clientTop || body.clientTop || 0; }}} It will, however, work fine if {{{ body.clientTop }}} is replaced with {{{ document.getElementsByTagName(""body"")[0].clientTop }}} or if the xsl output is set to ""html"". So somewhere jQuery is relying on the special meaning that ""body"" has in an html file that it does not automatically have in an xml file (at least not in Firefox). ",bug,closed,low,None,offset,1.8.3,invalid,,,,