Ticket #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: | ||
| Blocking: | Blocked by: |
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
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
