Bug Tracker

Opened 13 years ago

Closed 13 years ago

#7005 closed bug (invalid)

IE Set Style (Empty Width)

Reported by: alidehghan Owned by:
Priority: Milestone: 1.4.3
Component: css Version: 1.4.2
Keywords: IE, Style, Width Cc:
Blocked by: Blocking:


In line 4617, when the value is passed to set is empty, throw an exception. This is because in IE can't set a value such as "px" in "width" property. this is resolved with following code:

if ( set && value!='px' ) {

style[ name ] = value;


Change History (1)

comment:1 Changed 13 years ago by dmethvin

Resolution: invalid
Status: newclosed

Please open with a test case. If you are saying that $("#id").css("width", "px") is throwing an error, then yes it is and it's due to bad input being passed to jQuery. A test case will make things clear.

Note: See TracTickets for help on using tickets.