Bug 57730 - z-index should apply to transformed elements
: z-index should apply to transformed elements
: WebKit
: 528+ (Nightly build)
: PC Mac OS X 10.5
: P2 Normal
Assigned To:
: https://bugzilla.mozilla.org/attachme...
  Show dependency treegraph
Reported: 2011-04-03 13:43 PST by
Modified: 2011-07-07 07:59 PST (History)



You need to log in before you can comment on or make changes to this bug.

Description From 2011-04-03 13:43:21 PST
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 From 2011-04-04 09:15:54 PST -------
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 #2 From 2011-07-07 02:00:10 PST -------
------- Comment #3 From 2011-07-07 07:59:09 PST -------
Consensus was to not have z-index apply.