Skip to main content

Bug Tracker

Side navigation

#7005 closed bug (invalid)

Opened September 06, 2010 08:00AM UTC

Closed September 07, 2010 02:40AM UTC

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;


Attachments (0)
Change History (1)

Changed September 07, 2010 02:40AM UTC by dmethvin comment:1

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.