Open trusktr opened 1 year ago
In short: no.
In long: WebXR doesn't do DOM rendering (with some exceptions), WebXR is for rendering graphic content to the Web. There has been some research into having WebXR layers containing DOM content but they probably wouldn't display CSS 3D content outside of the rectangle.
On a separate note, outside of WebXR there has been a few early thoughts that there should be someway for CSS/HTML content to make the most of immersive displays without needing WebXR at all. Right now the focus in this discussion is more focused on a <model>
tag. Whilst I personally think having general HTML content broken out of the web rectangle would be great no one is really having these discussions yet. I hope Wolvic and Meta, who both maintain immersive browsers want to talk about this eventually I get the feeling that it is not really in the cards for any time soon.
Even if that did happen displaying the DOM content as it's displayed in the browser composited with WebXR content is still another matter entirely that would need further discussion.
It would be game changer. Will it ever happen?