Bug Tracker

Modify

Ticket #3597 (closed bug: worksforme)

Opened 5 years ago

Last modified 3 years ago

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

comment:1 Changed 5 years ago by dmethvin

  • Component changed from unfilled to core

comment:2 Changed 3 years ago by snover

  • Status changed from new to closed
  • Resolution set to worksforme

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

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.