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

That's great to hear you're actively on that effort! Looking forward to trying things out.

If web devs will be allowed to arbitrarily detach elements out of the browser window (and potentially ruin the host UX (imagine if users could currently do this on a flat desktop window, and cover the whole screen)), I still think it would better to do this via WebXR (eventually allowing also CSS content to be placed into WebXR) rather than a CSS-specific `detached` mode. This would ultimately allow devs to render _both_ flat CSS planes and 3D WebGL objects together in a more coherent way (whether detached from the browser window in VR, or in fully separate VR/AR). This would also encourage people to start using `DOMMatrix`, as then it would be easier to align WebGL and CSS coordinate systems out of the box using the same transform system.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Sunday, 6 June 2021 01:58:54 UTC