mdn / content

The content behind MDN Web Docs
https://developer.mozilla.org
Other
9.12k stars 22.46k forks source link

Descriptions of orientation values missing #34927

Open jms72 opened 1 month ago

jms72 commented 1 month ago

MDN URL

https://developer.mozilla.org/en-US/docs/Web/Manifest/orientation

What specific section or headline is this issue about?

No response

What information was incorrect, unhelpful, or incomplete?

It's not obvious what the different values mean. E.g. portrait-primary what does it mean?

Also what is the default if none is specified.

What did you expect to see?

An explanation for each value, and which is the default.

Do you have any supporting links, references, or citations?

No response

Do you have anything more you want to share?

No response

MDN metadata

Page report details * Folder: `en-us/web/manifest/orientation` * MDN URL: https://developer.mozilla.org/en-US/docs/Web/Manifest/orientation * GitHub URL: https://github.com/mdn/content/blob/main/files/en-us/web/manifest/orientation/index.md * Last commit: https://github.com/mdn/content/commit/de2ef1e9950eebbacdd55f072dfe03014d113bbd * Document last modified: 2024-07-13T01:34:51.000Z
Josh-Cena commented 1 month ago

There is no default value. If unspecified, it just means the app can be rotated freely. I believe if specified, rotating the device no longer changes the orientation, and it can only be changed programmatically, but it would be useful to verify that. The orientation values are defined in https://developer.mozilla.org/en-US/docs/Web/API/ScreenOrientation/lock; we should link to it.

Pinging @dipikabh since you are working on this area.

dipikabh commented 1 month ago

Thanks, @Josh-Cena! Yeah, can definitely include the clarifications in my work when I get to this page.