This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 27566 - Should transform-style: preserve3d create containing block?
Summary: Should transform-style: preserve3d create containing block?
Status: RESOLVED FIXED
Alias: None
Product: CSS
Classification: Unclassified
Component: Transforms (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Simon Fraser
QA Contact: public-css-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-11 05:26 UTC by Simon Fraser
Modified: 2015-08-20 03:59 UTC (History)
6 users (show)

See Also:


Attachments
Testcase (617 bytes, text/html)
2014-12-11 05:26 UTC, Simon Fraser
Details

Description Simon Fraser 2014-12-11 05:26:20 UTC
The working draft says in the prose:

A 3D rendering context is established by a a transformable element whose computed value for transform-style is preserve-3d, and which itself is not part of a 3D rendering context. Note that such an element is always a containing block.

but we don't explicitly call this out under the transform-style property.

WebKit/Blink have this behavior because of a bug. Firefox seems to have copied them or gone by the spec prose. Not sure what IE does.

The new spec text doesn't require that preserve-3d create containing block. I don't think it should.
Comment 1 Simon Fraser 2014-12-11 05:26:58 UTC
Created attachment 1557 [details]
Testcase
Comment 2 Simon Fraser 2014-12-11 18:49:58 UTC
IE 11 does not treat it as containing block.
Comment 3 Simon Fraser 2015-08-20 03:59:18 UTC
Mailing list consensus was that it should:
https://lists.w3.org/Archives/Public/www-style/2015Jan/0545.html
Comment 4 Simon Fraser 2015-08-20 03:59:59 UTC
The working draft now says "A value of "preserve-3d" establishes a stacking context, and a containing block.".