Bug 57730
| Summary: | z-index should apply to transformed elements | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Boris Zbarsky <bzbarsky> |
| Component: | CSS | Assignee: | 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 | ||
Boris Zbarsky
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.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Simon Fraser (smfr)
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.
noel gordon
http://lists.w3.org/Archives/Public/www-style/2011Apr/0648.html
Simon Fraser (smfr)
Consensus was to not have z-index apply.