Repository navigation
Conversation
cabanier
force-pushed
the
define-model-immersive-apis
branch
from
October 14, 2026 04:52
0e23da9 to
2ed69f4
Compare
cabanier
force-pushed
the
define-model-immersive-apis
branch
from
October 14, 2026 18:08
2ed69f4 to
7c26119
Compare
Add requestImmersive(), document availability/current-element state and exit APIs, and immersive change/error events. Define activation, loading, transitions, and automatic cleanup when presentation or document eligibility ends. Require native metric dimensions without inline auto-fitting. Remove inline scale and translation on entry, apply subsequent entityTransform assignments, and restore inline fitting on exit. Keep rendering user-agent-defined and prohibit creating WebXR sessions or exposing device tracking data. Record open questions about Document versus Navigator, immersiveElement, unitless resource formats, loading external dependencies, and user-agent approval. Refs immersive-web#161, immersive-web#162, immersive-web#163, immersive-web#164, immersive-web#166. Validation: strict Bikeshed build and structural/example syntax checks.
cabanier
force-pushed
the
define-model-immersive-apis
branch
from
October 15, 2026 21:59
7c26119 to
d83a6c4
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
HTMLModelElement.requestImmersive(), document availability/current-element state and exit APIs, and immersive change/error events.entityTransformassignments in meter-based coordinates, and restore inline fitting on exit.Open design questions
The draft includes native Bikeshed
ISSUE:blocks linked to:DocumentorNavigator?immersiveElementnecessary?These questions remain open; this PR does not resolve them. The selected model resource must be loaded and processed before entry, but the dependency-readiness requirement is explicitly marked for discussion
Preview | Diff