Side navigation
#6525 closed bug (fixed)
Opened May 04, 2010 07:36PM UTC
Closed February 13, 2011 10:39PM UTC
Last modified April 12, 2012 01:53AM UTC
IE script error on z-index 'auto' or 'inherit'
Reported by: | dtetto | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | 1.4.3 |
Component: | css | Version: | 1.4.2 |
Keywords: | css z-index | Cc: | |
Blocked by: | Blocking: |
Description
IE 6 and 7 hit a "Type mismatch" at "Line: 4619" when setting the z-index to 'auto' or 'inherit' using .css(). Both values are valid according to the W3C ('auto' is the default!).
http://www.w3.org/TR/CSS2/visuren.html#z-index
Test case at: http://www.babywhale.net/jquery/zindex-auto.php
or just run $(el).css('z-index','auto') on any element!
Attachments (0)
Change History (5)
Changed October 21, 2010 03:46PM UTC by comment:1
Changed October 21, 2010 08:14PM UTC by comment:2
keywords: | → css z-index |
---|---|
milestone: | 1.4.3 → 1.5 |
priority: | → high |
status: | new → open |
I ran the tests and got the errors. The line given didn't really make sense. Opening up for a fix.
Changed October 21, 2010 08:15PM UTC by comment:3
Until this gets fixed, I'd suggest adding or removing a class that gives this property.
Changed February 13, 2011 10:39PM UTC by comment:4
Changed April 12, 2012 01:53AM UTC by comment:5
I still get a type mismatch error on IE7 when doing
.css("z-index", "auto")
Any workaround for this?