W3C home > Mailing lists > Public > public-css-archive@w3.org > August 2019

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

From: rcabanier via GitHub <sysbot+gh@w3.org>
Date: Fri, 30 Aug 2019 02:23:35 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-526430033-1567131814-sysbot+gh@w3.org>
> 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

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:31:13 UTC