Closed
Bug 1112531
Opened 10 years ago
Closed 4 years ago
Implement screen orientation angle attribute
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox48 affected, firefox49 affected, firefox50 affected, firefox51 affected)
People
(Reporter: rich.tibbett, Unassigned)
References
Details
(Keywords: mobile, Whiteboard: DUPEME)
Attachments
(1 file)
3.20 KB,
text/html
|
Details |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.65 Safari/537.36 OPR/26.0.1656.32
Steps to reproduce:
1. Open http://fiddle.jshell.net/r21q5fam/2/show/light/ on Firefox for Android.
2. Observe output value printed
Actual results:
The output value displays 'undefined'.
Expected results:
The output value you report the current orientation of the screen as per the W3C Screen Orientation API spec (https://w3c.github.io/screen-orientation/#widl-ScreenOrientation-angle).
Reporter | ||
Updated•10 years ago
|
Updated•10 years ago
|
Whiteboard: DUPEME
Comment 1•9 years ago
|
||
There are additional steps to reproduce this in bug 1300157 and I can reproduce it using these steps:
Steps to reproduce:
1. Hold device in portrait-primary orientation.
2. Listen for the screen.orientation change event.
3. Trigger requestFullScreen.
4. Trigger screen.orientation.lock('landscape-primary')
5. Read the screen.orientation.angle value.
Actual results:
The screen.orientation.angle value is 0. This would make sense if the orientation was still portrait-primary, but not for landscape-primary on this device.
Expected results:
The screen.orientation.angle value should be 90 for this device, as the orientation has changed to landscape-primary.
Note: On Chrome it works fine.
So I'm changing the bug to New.
Status: UNCONFIRMED → NEW
status-firefox48:
--- → affected
status-firefox49:
--- → affected
status-firefox50:
--- → affected
status-firefox51:
--- → affected
Ever confirmed: true
Comment 3•9 years ago
|
||
Comment 4•4 years ago
|
||
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INCOMPLETE
Assignee | ||
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•