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 May 02, 2010 10:34PM UTC by comment:1
Changed November 03, 2010 09:25PM UTC by comment:2
| priority: | → undecided | 
|---|---|
| resolution: | → invalid | 
| status: | new → closed | 
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.
http://blogs.msdn.com/ie/archive/2009/02/10/i-found-a-web-page-that-doesn-t-work-now-what.aspx#9415681