Re: [csswg-drafts] [css-transforms-2] proposal new transform-style: detached (#4242)

How about this proposal:

`transform-style: preserve-3d` on the root element causes no flattening at the root, for user agents which want to display multiple planes in 3D. Otherwise flattening will still occur.

That's it. No other changes. :)

In particular, the previous resolutions about what causes flattening and how `preserve-3d` is set remain. IOW:
* Any element with `transform-style` other than `preserve-3d` flatten into the ancestor element's plane
* All effects and clips cause the used value of `transform-style` to be flat.

If a developer wants to have a 3D plane that floats above the other content in a user agent that supports such things, they should:
* put `transform-style: preserve-3d` on the root element of the 3D plane and all ancestors
* Don't have flattening properties on the ancestors
* Place a 3D transform on the root element of the 3D plane


-- 
GitHub Notification of comment by chrishtr
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4242#issuecomment-548004645 using your GitHub account

Received on Wednesday, 30 October 2019 16:50:31 UTC