Skip to main content

Bug Tracker

Side navigation

#3597 closed bug (worksforme)

Opened November 12, 2008 09:14PM UTC

Closed November 17, 2010 05:36AM UTC

Width, Height, and curCSS methods broken for extensions

Reported by: thenobot Owned by: flesler
Priority: major Milestone: 1.3
Component: core Version: 1.2.6
Keywords: Cc:
Blocked by: Blocking:
Description

See thread at: http://groups.google.com/group/jquery-dev/browse_thread/thread/3e9a8025e36f69d?hl=en

Patch for Width & Height:

1354,1355c1359,1360

< Math.max(document.body["scroll" + name],

document.documentElement["scroll" + name]),

< Math.max(document.body["offset" + name],

document.documentElement["offset" + name])

---

Math.max(document.body ? document.body["scroll" + name] : 0, document.documentElement["scroll" + name]), Math.max(document.body ? document.body["offset" + name] : 0, document.documentElement["offset" + name])

Patch for curCSS:

871c871,876

< var computedStyle = defaultView.getComputedStyle( elem,

null );

---

var computedStyle = null; try { defaultView.getComputedStyle( elem, null ); } catch(e) { // not sure what to do here }

This is against the 1.2.6 release version.

Attachments (0)
Change History (2)

Changed October 14, 2009 01:04AM UTC by dmethvin comment:1

component: unfilledcore

Changed November 17, 2010 05:36AM UTC by snover comment:2

resolution: → worksforme
status: newclosed

This should be fixed now. Please create a new ticket containing a test case if this is not the case.