Open toji opened 6 years ago
From @bzbarsky on August 9, 2016 21:10
Why would they ever be null?
null
is a convenience notation for "the default bounds" in this case, which is [0.0, 0.0, 0.5, 1.0]
for leftBounds
and [0.5, 0.0, 0.5, 1.0]
for rightBounds
. This is described in the documentation for the VRLayer. @kearwood's issue pertains to the text describing what happens when requestPresent is called.
From @bzbarsky on August 10, 2016 16:49
My point is that it doesn't make sense to allow null
here at all. See https://bugzilla.mozilla.org/show_bug.cgi?id=1250244#c316 for details. And yes, I know what the issue is about; it's filed because I asked for it to be filed!
From @kearwood on August 11, 2016 21:4
I have added a separate issue to capture a proposed change to the webidl and processing model to replace the null values:
From @kearwood on August 9, 2016 20:59
The processing model text at https://w3c.github.io/webvr/#dom-vrdisplay-requestpresent should describe the use of the VRLayer's leftBounds and rightBounds attributes.
Additionally, it should describe what will happen if the leftBounds or rightBounds attributes are null, empty, or an incorrect length.
Copied from original issue: immersive-web/webxr#66