Bug 57730 - z-index should apply to transformed elements
: z-index should apply to transformed elements
Status: RESOLVED WONTFIX
Product: WebKit
Classification: Unclassified
Component: CSS
: 528+ (Nightly build)
: PC Mac OS X 10.5
: P2 Normal
Assigned To: Nobody
https://bugzilla.mozilla.org/attachme...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-04-03 13:43 PDT by Boris Zbarsky
Modified: 2011-07-07 07:59 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Boris Zbarsky 2011-04-03 13:43:21 PDT
See the testcase at https://bugzilla.mozilla.org/attachment.cgi?id=523831 on which the yellow square should be on top of the red one.

In particular, the 2d transforms specification says that transformed elements act like position:relative for stacking purposes, so z-index should apply to them.
Comment 1 Simon Fraser (smfr) 2011-04-04 09:15:54 PDT
It's not obvious to me that z-index should apply. They act as positioning containers, but that doesn't necessarily mean that z-index applies.

This is worth a post on www-style.
Comment 3 Simon Fraser (smfr) 2011-07-07 07:59:09 PDT
Consensus was to not have z-index apply.