#1155: WG Revision: Screen Orientation

Visit on Github.

Opened Sep 22, 2025

Specification

https://www.w3.org/TR/2023/WD-screen-orientation-20230809/

Explainer

https://w3c.github.io/screen-orientation/demo/index.html

Links

Feature 1: Prevent hidden documents from locking orientation

Feature 2: Resolving the promise after the change event is fired

The specification

Where and by whom is the work is being done?

Feedback so far

You should also know that...

No response

<!-- Content below this is maintained by @w3c-tag-bot -->

Track conversations at https://tag-github-bot.w3.org/gh/w3ctag/design-reviews/1155

Discussions

Log in to see TAG-private discussions.

Discussed Oct 13, 2025 (See Github)

Matthew: I like Christian's comment.

Christian: I'm satisfied. Very minor: 1) resolving the promise after the event is fired. 2) Hidden pages shouldn't be able to lock the orientation. Everything is fine.

Comment by @christianliebel Oct 15, 2025 (See Github)

This revision introduces two minor changes for screen orientation. First, it only allows active documents to lock the screen orientation, which makes sense from a security perspective and should not affect any normal website. Second, the promise for locking the orientation is only resolved after the event is emitted, which aligns with developer ergonomics. We are closing this review as satisfied.