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

Based on discussion here and implementation experience in Helio, we found that transform-style was not the appropriate attribute to use to implement detached behavior. We have published a revised explainer at https://github.com/magicleap/detached_explainer that accounts for this change.

The main sticking point that caused this change was defining the behavior of descendants when a element with transform-style: preserve-3d was the child of an element with transform-style: detached.

We still believe explicitly detaching elements is necessary. @chrishtr recommends implicitly detaching elements with 3d transforms. But this would be difficult to implement in cases where the 3d transform is animated making the surface pop in and out of the root surface.

As described in explainer, we think extending attribute transform to allow detaching current element is a more appropriate solution.

Please advise if a new issue is necessary or if the current issue can be renamed.

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

Received on Friday, 17 January 2020 18:04:59 UTC