[Webkit-unassigned] [Bug 257695] New: ScreenOrientation lock api support
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Jun 4 15:38:20 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=257695
Bug ID: 257695
Summary: ScreenOrientation lock api support
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebKit Misc.
Assignee: webkit-unassigned at lists.webkit.org
Reporter: electroteque at gmail.com
Screen orientation lock has been available in Android for 6 years. This is useful for going to landscape mode when going to html video fullscreen or WebXR session / canvas.
With the impending support WebXR, I believe lock api is useful and of use. Will this be implemented ? I have had to build a css orientation hack fallback in a screen lock helper method. It works tilting content in portrait mode but native would be better.
https://w3c.github.io/screen-orientation/#dom-screenorientation-lock
demo
https://danrossi.github.io/screenlock-api/test/
The support check, Safari has orientation but no lock method.
https://github.com/danrossi/screenlock-api/blob/main/src/ScreenLockApi.js#L24
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230604/cc25be77/attachment-0001.htm>
More information about the webkit-unassigned
mailing list