Opened 14 years ago
Closed 12 years ago
#3597 closed bug (worksforme)
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+ name?, document.documentElement+ name?), < Math.max(document.body+ name?, document.documentElement+ name?) ---
Math.max(document.body ? document.body+ name? : 0, document.documentElement+ name?), Math.max(document.body ? document.body+ name? : 0, document.documentElement+ 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.
Change History (2)
comment:1 Changed 13 years ago by
Component: | unfilled → core |
---|
comment:2 Changed 12 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
This should be fixed now. Please create a new ticket containing a test case if this is not the case.