Side navigation
#5674 closed bug (invalid)
Opened December 17, 2009 09:07PM UTC
Closed June 13, 2010 11:11PM UTC
Last modified March 15, 2012 10:44AM UTC
css('z-index') returns incorrect value in Safari
| Reported by: | tomsomething | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.4 | 
| Component: | attributes | Version: | 1.3.2 | 
| Keywords: | css, z-index, safari | Cc: | |
| Blocked by: | Blocking: | 
Description
Safari 3 Mac. When an element has its z-index set in an external stylesheet or in <style> tags, .css('z-index') returns 'auto' instead of the correct value. If the z-index is defined inline like '<div style="z-index:100;">', there is no problem. .css('z-index',whatever) works fine for setting the z-index.
Attachments (0)
Change History (3)
Changed December 17, 2009 09:15PM UTC by comment:1
Changed June 13, 2010 11:11PM UTC by comment:2
| component: | unfiled → attributes | 
|---|---|
| resolution: | → invalid | 
| status: | new → closed | 
This doesn't seem related to jQuery, has a bug been filed with Safari?
Changed November 16, 2011 07:00PM UTC by comment:3
When setting "position" to "relative" or "absolute" be sure to correct auto alignment for cross browser compatibility where needed i.e "vertical-align" to "top" and "text-align" to "left".
Setting "position" to "absolute" or "relative" will resolve this.