Bug 57730

Summary: z-index should apply to transformed elements
Product: WebKit Reporter: Boris Zbarsky <bzbarsky>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Normal CC: cmarrin, davve, noel.gordon, phiw2, simon.fraser
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
URL: https://bugzilla.mozilla.org/attachment.cgi?id=523831

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.