Opened 9 years ago
Closed 9 years ago
#14455 closed bug (notabug)
2.0.3 z-index animate bug?
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 2.0.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
in chrome, $().css('z-index') returns 'auto'
z-index changes from 1 - animation (1, 0, 4) - animation (4, 0, -4)
Change History (2)
comment:2 Changed 9 years ago by
Resolution: | → notabug |
---|---|
Status: | new → closed |
The computed value of z-index for non-positioned elements is "auto". Observe the difference: http://jsfiddle.net/MxAH2/8/
From http://www.w3.org/TR/CSS21/visuren.html#z-index:
Each positioned box in a given stacking context has an integer stack level
The root element forms the root stacking context. Other stacking contexts are generated by any positioned element (including relatively positioned elements) having a computed value of 'z-index' other than 'auto'
Note: See
TracTickets for help on using
tickets.