screen-orientation
screen-orientation copied to clipboard
The screen orientation lock specification
Notes on where this specification needs better integration with HTML: - [ ] In the [set the active document](https://html.spec.whatwg.org/#set-the-active-document) algorithm, the relevant's Screen's type and angle should be set. That...
I understand that this might not be possible from the note - > unlock() does not return a Promise because it is equivalent to locking to the default orientation which...
Closes #210 The purpose of this change is to somewhat mitigate the following abuse case, which could be used for hypothetical fingerprinting attack. It could also just generally annoy users...
(If this is already discussed, please close this) When I look this spec, I cannot find feature detection section. Even If `orientation.lock` isn't supported, Blink and Gecko have this method...
I wonder if we should require transient activation to perform a rotation? Going fullscreen would give us the initial rotation... but it would be better to request the rotation when...
See: https://github.com/whatwg/html/commit/2db564c6902ace8c2539560e508ce22c2948c4d8 Handles a bunch of stuff we do in the spec "for free"™️. The definition to ref is [[=Document/fully active descendant of a top-level traversible with user attention=]](https://html.spec.whatwg.org/multipage/interaction.html#fully-active-descendant-of-a-top-level-traversible-with-user-attention)
The WHATWG compat spec [currently specifies window.orientation](https://compat.spec.whatwg.org/#dfn-window-orientation-angle), but it could just be moved here. It's interoperable and I don't imagine it is going anywhere. - [ ] move spec and...
In "Applying the orientation lock" the spec asks the user agent to monitor if the document becomes fully active. It should also monitor that the pre-lock conditions are retained, and...
Closes #104 The following tasks have been completed: * [ ] Modified Web platform tests (link to pull request) Implementation commitment: * [ ] WebKit (https://bugs.webkit.org/show_bug.cgi?id=) * [ ] Chromium...