You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[css-spatial-1] Which way does +y point for transforms in the back spatial context? #172
The draft says portal-transform takes a and that transforms on spatially positioned objects participate in the spatial context's 3D rendering context, but it doesn't say which way the y-axis points.
CSS transforms use y-down coordinates: rotateX(30deg) tips the top of a box away from the viewer and translateY(4cm) moves it down. 3D content (glTF, USD) and most 3D engines use y-up.
This is a really good question. I personally think it should use Y-up to align with the standard set by WebXR since it's working in a space this would be a great discussion topic though.
Activity
AdaRoseCannon commentedon Nov 18, 2026
This is a really good question. I personally think it should use Y-up to align with the standard set by WebXR since it's working in a space this would be a great discussion topic though.
Can you reproduce the issue in https://github.com/w3c/csswg-drafts/issues (it'll be the first issue for this there) I am still figuring out the best way to move the existing issues from here over.