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

> How would `detached` interact with clipping (e.g., overflow:hidden or clip-path)? For example, if a detached box is below a clip path, would the box's pixels be clipped as if it were preserve-3d?

For `overflow: hidden`, I suspect that the author is going to expect that the transformed element is visible. What happens today if a hidden element is transformed into view? 
Are there's special ruls for `clip-path`? We need to do some investigation there and try it out with the current code :-)

> Similarly, how would `detached` interact with atomic operations such as filtering? For example, if two detached boxes have a blur filter on them, would their pixels be blurred as if preserve-3d was used?

Yes, the filters would apply as usual, except the effect would be computed by the system compositor and not the browser's one. 
We haven't hooked that part up yet though. Do you envision problems in that workflow?


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

Received on Friday, 30 August 2019 02:23:36 UTC