Skip to main content

Bug Tracker

Side navigation

#6512 closed bug (invalid)

Opened May 01, 2010 07:41PM UTC

Closed November 03, 2010 09:25PM UTC

can't unset CSS property clip in IE

Reported by: casey Owned by:
Priority: undecided Milestone: 1.4.3
Component: css Version: 1.4.2
Keywords: Cc:
Blocked by: Blocking:
Description

$('div')

.css('clip', 'rect(auto, auto, auto, auto)')

.css('clip', null); // <-- doesn't work

Attachments (0)
Change History (2)

Changed November 03, 2010 09:25PM UTC by snover comment:2

priority: → undecided
resolution: → invalid
status: newclosed

Thanks for the report, but this is not a jQuery bug. null is not a valid value to pass to .css. To remove an inline CSS property, pass an empty string.