<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -35,13 +35,13 @@ if ( &quot;getBoundingClientRect&quot; in document.documentElement ) {
 		var offsetParent = elem.offsetParent, prevOffsetParent = elem,
 			doc = elem.ownerDocument, computedStyle, docElem = doc.documentElement,
 			body = doc.body, defaultView = doc.defaultView,
-			prevComputedStyle = defaultView.getComputedStyle( elem, null ),
+			prevComputedStyle = defaultView ? defaultView.getComputedStyle( elem, null ) : elem.currentStyle,
 			top = elem.offsetTop, left = elem.offsetLeft;
 
 		while ( (elem = elem.parentNode) &amp;&amp; elem !== body &amp;&amp; elem !== docElem ) {
 			if ( jQuery.offset.supportsFixedPosition &amp;&amp; prevComputedStyle.position === &quot;fixed&quot; ) { break; }
 
-			computedStyle = defaultView.getComputedStyle(elem, null);
+			computedStyle = defaultView ? defaultView.getComputedStyle(elem, null) : elem.currentStyle;
 			top  -= elem.scrollTop;
 			left -= elem.scrollLeft;
 </diff>
      <filename>src/offset.js</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>339708cda9985aeef947a28bec1354bdfcc2a358</id>
    </parent>
  </parents>
  <author>
    <name>John Resig</name>
    <email>jeresig@gmail.com</email>
  </author>
  <url>http://github.com/jquery/jquery/commit/9a371e2d93d6e0a70b4c99e2ca44cbe14017fe5c</url>
  <id>9a371e2d93d6e0a70b4c99e2ca44cbe14017fe5c</id>
  <committed-date>2009-11-07T05:57:27-08:00</committed-date>
  <authored-date>2009-11-07T05:57:27-08:00</authored-date>
  <message>Fixed the case where getComputedStyled was assumed to exist if getBoundingClientRect did (which isn't the case on the Playstation 3). Fixes #5467.</message>
  <tree>dec93ca8cdf12eaa71ae89f1da68c1aebacc822a</tree>
  <committer>
    <name>John Resig</name>
    <email>jeresig@gmail.com</email>
  </committer>
</commit>
