Skip to content

Update backdrop explainer for JS#130

Merged
hober merged 1 commit into
WebKit:mainfrom
AdaRoseCannon:backdrop
May 13, 2026
Merged

Update backdrop explainer for JS#130
hober merged 1 commit into
WebKit:mainfrom
AdaRoseCannon:backdrop

Conversation

@AdaRoseCannon
Copy link
Copy Markdown
Contributor

Restructure the explainer around the JavaScript API on the element (requestImmersive / exitImmersive), moving the previous declarative design to "Alternative Considered".

The imperative approach gives the page ownership of the activation UI, awareness of the current immersive state via immersivechange and a handle for controlling the backdrop after it is presented (entityTransform, environment map swaps, model animations).

Restructure the explainer around the JavaScript API on the <model>  element (requestImmersive / exitImmersive), moving the previous declarative <link rel="spatial-backdrop"> design to "Alternative Considered".

The imperative approach gives the page ownership of the activation UI, awareness of the current immersive state via immersivechange and a handle for controlling the backdrop after it is presented (entityTransform, environment map swaps, model animations).

---------

Co-authored-by: Marcos Caceres <marcosc@apple.com>
@hober hober merged commit dceee91 into WebKit:main May 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants